use FindBin; # determine script's directory use lib $FindBin::Bin; # add script's directory to @INC