#!/usr/bin/perl -w use strict; use lib qw(/home/jzb/lib); # ?? home/jzb/lib/AppConfig.pm ?? # note: make sure that the last # directory contains the location of # AppConfig.pm # so you might actually need something like # use lib qw(/home/jzb/lib/perl5/site_perl/5.005); # uncomment the above line and comment out the # line below 'use strict' eval "use AppConfig"; if ($@) { die "Can not find AppConfig.pm.....doh! \n"; } else { print "Found it!!! \n"; } #### s0ttle:(~)%perl -e 'for(@INC){print $_, "\n";}' /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .