in reply to
Changing Perl installation to include vendor_perl path
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.:
From the console type: find /usr/lib | grep vendor_perl
@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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re:
by tachyon (Chancellor) on Mar 06, 2004 at 21:14 UTC | |
|
Re: Re:
by RonatArtifact (Initiate) on Mar 07, 2004 at 06:06 UTC |