Try:
perl -MData::Dumper -e "print Dumper(\%INC);"
which gives:
$VAR1 = { 'warnings/register.pm' => 'C:/data/Perl/lib/warnings/registe +r.pm', 'bytes.pm' => 'C:/data/Perl/lib/bytes.pm', 'XSLoader.pm' => 'C:/data/Perl/lib/XSLoader.pm', 'Carp.pm' => 'C:/data/Perl/lib/Carp.pm', 'Exporter.pm' => 'C:/data/Perl/lib/Exporter.pm', 'warnings.pm' => 'C:/data/Perl/lib/warnings.pm', 'C:/data/Perl/site/lib/sitecustomize.pl' => 'C:/data/Perl/si +te/lib/sitecustomize.pl', 'overload.pm' => 'C:/data/Perl/lib/overload.pm', 'Data/Dumper.pm' => 'C:/data/Perl/lib/Data/Dumper.pm' };
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
In reply to Re: modules using things from other modules
by CountZero
in thread modules using things from other modules
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |