in reply to @INC package location
e.g. if a script is in .../myScript/bin/ and the modules are in .../myScript/lib/ I use it a lot unter Win2k, Linux and Solaris, and it works great.BEGIN { use FindBin qw($Bin); # get actual path of this script use lib "$Bin/../lib"; # add path/../lib/ to @INC use ModuleXY; # load module ModuleXY.pm from lib } # BEGIN
Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"
|
|---|