in reply to How to do "use Mumble ':all' " ala CGI.pm

What you have looks reasonable to me.

From a module-consumer perspective, I sometimes use Exporter's regex feature to get all the exports from a module that neglects to set up an :all tag, e.g. use Foo "/./";. This tripped me up once with a general debugging script that did -MScalar::Util=/./ when isvstring was added. It got trapped by export_fail prior to 5.8.0 and just croaked :(

$ perl5.6.2 -MScalar::Util=/./ -we0 Vstrings are not implemented in the version of perl at -e line 0

Replies are listed 'Best First'.
Re^2: How to do "use Mumble ':all' " ala CGI.pm
by shenme (Priest) on Sep 20, 2004 at 06:46 UTC
    Yes, I'd thought of just using something like /^LIS_/, as in this case all the interesting constants began with just that. But I'd been so intrigued with the CGI.pm widget that I went off on this tangeant.