Re: add @INC directory
- From: noreply@xxxxxxxxx (Gunnar Hjalmarsson)
- Date: Thu, 29 May 2008 16:25:28 +0200
William wrote:
Hello, I have just upgrade my perl-5.8.8 to perl-5.10 , this new perl is installed at /usr/local/bin/perl I have install a lot of modules in the old perl directory, so I have problem of using the new perl version because of many uninstalled module, should reinstalled all the modules that I need into the new perl directory or make my new perl @INC to include the @INC of the old perl ?
If appending the directory of old perl @INC to new perl @INC would just fine, how can I configure the @INC of new perl PERMANENTLY ? Other than using "use lib @DIR" ? I thought of using "export PER5LIB=...." , but not sure how to make it permanently all the time?
You should have read the Install file before installing the new version. All your questions are answered there; see in particular http://search.cpan.org/~rgarcia/perl-5.10.0/INSTALL#Coexistence_with_earlier_versions_of_perl_5
You may now want to recompile perl to get the @INC you want.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.
- References:
- add @INC directory
- From: William
- add @INC directory
- Prev by Date: Re: Curses - chgat
- Next by Date: Re: cgi ordering a table with sql
- Previous by thread: Re: add @INC directory
- Next by thread: Re: add @INC directory
- Index(es):
Relevant Pages
|