in reply to Re: Re: Load all modules in directory
in thread Load all modules in directory

The require needs a file name and the import needs a package name. So you need to figure out how to require "/home/tboyd/lib/site_perl/5.6.1/Tools/ModuleA.pm" but import "Tools::ModuleA".

You might want to see the thread about import.pm on perl5-porters for ideas about doing this or reasons not to.

  • Comment on Re: Re: Re: Load all modules in directory