http://qs1969.pair.com?node_id=325554


in reply to Mods in different directories

TIMTOWTDI

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');