in reply to Running a module?

You can use the FindBin module to get the path to the executable you are currently running.

Try:-

BEGIN { use FindBin qw( $BIN ); use lib qw( $BIN ); }
Or, if that doesn't work for you:-
#! /user/bin/perl -I . BEGIN { use FindBin qw( $BIN ); chdir $BIN; }
might also work for you.