add this to the top of your script:
use lib('/path/to/module1','/path/to/module2');
this does the same as
unshift (@INC,'/path/to/module1','/path/to/module2');
In reply to Re: Mods in different directories
by Sol-Invictus
in thread Mods in different directories
by jmetcalfe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |