The following code snippet could be used in the script to pretend a clean-installed environment. (Oops, MacOSX built-in perl only) no lib qw(/Library/Perl/5.8.6 /Library/Perl /Library/Perl/5.8.1 /Network/Library/Perl/5.8.6 /Network/Library/Perl /Network/Library/Perl/5.8.6 /System/Library/Perl/Extras/5.8.6 /System/Library/Perl/Extras/ );