The values in the %INC hash contain the paths to the loaded modules.
$ perl -MFile::Spec -e'print $INC{"File/Spec.pm"},$/' /usr/lib/perl5/5.8.4/File/Spec.pm $
After Compline,
Zaxo
In reply to Re: finding the absolute path to a module, from the module's, perspective
by Zaxo
in thread finding the absolute path to a module, from the module's, perspective
by skazat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |