![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re:by Vautrin (Hermit) |
on Mar 06, 2004 at 17:03 UTC ( #334509=note: print w/replies, xml ) | Need Help?? |
What is vendor_perl? If it was a directory in your old @INC, you should copy the old vendor_perl library into the new one, if you still have it around. I.e.:
@INC is simply a listing of paths to search for modules. Do a perl -e "foreach my $dir (@inc) { print "$dir\n"; }" to find out what paths are being searched. Usually it includes directory under /usr/lib (i.e. /usr/lib/perl5/). Copy the files you need to put into your @INC in one of those directories. Or, if you want, you can run a piece of code like this at the top of your script: BEGIN { unshift "somedir", @INC; }This will add the directory to your @INC from within a perl program. Want to support the EFF and FSF by buying cool stuff? Click here.
In Section
Seekers of Perl Wisdom
|
|