But as liz notes, that requires munging the module name for any module with a '::' seperator. Better yet, don't load the module at all and just make use of Module::Locaterequire( shift @ARGV );
use Module::Locate 'locate'; my $path = locate $ARGV[0];
_________
broquaint
In reply to Re: module location
by broquaint
in thread module location
by hmerrill
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |