use lib "$path"; # or you can BEGIN { push @INC, $path }