hi
I have a debian box that I have run for about 3 years now. Innumerable modules and perls have run on it (including for a while one I built from scratch to use with apache, and foolishly wrote over the system perl) ...
I see now that @INC is kind of a mess, lots and lots of lib paths, including some to 5.8.7 that probably need to be cleaned.
I also have a problem that I install a module (encoding::warnings) with CPAN, and yet it puts it somewhere where the system perl can't find it. (its a matter of a /usr/local/lib/perl5/ ... where @INC only has /usr/local/lib/perl/ ... )
so it's all foobar.
How can I :
1: get CPAN and perl back in sync (they are both recent installs via apt/CPAN from the last few days)
2: keep only what *should* be in @INC, and remove refs to obsolete perls (allowing me to merrily delete the old libs?)
thanks!! I have searched, I have sought ... but clear instructions have I found on how CPAN decides where to put libraries, and how perl gets @INC, which is obviously rather related ....
In reply to cleaning up old libs and @INC by danmcb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |