in reply to Mods in different directories
add this to the top of your script:
use lib('/path/to/module1','/path/to/module2'); [download]
this does the same as
unshift (@INC,'/path/to/module1','/path/to/module2'); [download]