Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Module usageby Chmrr (Vicar) |
on Jul 22, 2002 at 01:30 UTC ( [id://183909]=note: print w/replies, xml ) | Need Help?? |
After you load the module(s), print out the %INC global. This will tell you the locations of the files which have been included via use or require; for example, try perl -e 'require CGI; use Data::Dumper; print Dumper(\%INC)' perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
In Section
Seekers of Perl Wisdom
|
|