in reply to finding the absolute path to a module, from the module's, perspective

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

  • Comment on Re: finding the absolute path to a module, from the module's, perspective
  • Download Code