in reply to modules using things from other modules
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: modules using things from other modules
by Anonymous Monk on Sep 01, 2008 at 19:38 UTC | |
by Your Mother (Archbishop) on Sep 01, 2008 at 19:49 UTC | |
by Anonymous Monk on Sep 01, 2008 at 20:42 UTC | |
by Anonymous Monk on Sep 02, 2008 at 05:50 UTC |