Siegfried Heintze wrote:
> How can I enumerate the file names of all the perl modules that are loaded
> in the current perl program?

$ perl -le'print for keys %INC'
$ perl -MB -le'print for keys %INC'
XSLoader.pm
Exporter.pm
strict.pm
B.pm
$ perl -MBenchmark -le'print for keys %INC'
warnings/register.pm
Carp.pm
Exporter/Heavy.pm
vars.pm
Time/HiRes.pm
Exporter.pm
strict.pm
Benchmark.pm
warnings.pm
AutoLoader.pm
Config.pm
DynaLoader.pm


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to