INSTALLSITELIB => '/opt/bamf/lib', INSTALLSCRIPT => '/opt/bamf/bin', EXE_FILES => ['relative/path/to/pl1','relative/path/to/pl2] #### use File::Spec; my $lib_path = File::Spec->rel2abs($0); $lib_path =~ s/\/bin\/[\w\d-]+\.pl/lib/; push(@INC,$lib_path);