add @INC directory

[email protected] (William)
Newsgroups perl.beginners
Message-ID <[email protected]>
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 ? 

If it's better to reinstall the modules into the new perl directory, what are the good ways to uinstall modules that I have installed in the old perl directory ?


Thanks


Send instant messages to your online friends http://uk.messenger.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.