in reply to Changing @INC path detail
Good luck.my $override_lib_path = "/usr/local/Perl/5.8.6/whatever"; my $backup_lib_path = "/lastresort/path/to/lib"; # look in $override_lib_path first unshift @INC, $override_lib_path; # look in $backup_lib_path last if # no match for a module name is found first push @INC, $backup_lib_path;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Changing @INC path detail
by moritz (Cardinal) on Dec 05, 2007 at 21:00 UTC |