use lib "somepath" tells Perl where to look for modules, but not which module to look for!
Assuming that you have two packages called Some::Module and Another::Module and they're saved as "mylibs/Some/Module.pm" and "mylibs/Another/Module.pm" respectively, then you could load them like this:
use lib "mylibs"; use Some::Module; use Another::Module;
In reply to Re: perl modules
by tobyink
in thread perl modules
by anek77713
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |