Old Perl - New @INC

Mathieu Arnold mat at mat.cc
Mon May 17 22:52:13 PDT 2004


+-Le 17/05/2004 15:37 -0500, Jason Dusek a dit :
| Hi Everyone,
| 
| I have installed over the 'system perl' a couple of times - once for
| 5.6.1 and once for 5.8.2. Now none of my modules work:
| 
|   7 jsn > tryme.pl
|   Can't locate Date/Calc.pm in @INC
|   (@INC contains:
|   /usr/local/lib/perl5/site_perl/5.8.2/mach
|   /usr/local/lib/perl5/site_perl/5.8.2
|   /usr/local/lib/perl5/site_perl/5.6.1
|   /usr/local/lib/perl5/site_perl/5.005
|   /usr/local/lib/perl5/site_perl
|   /usr/local/lib/perl5/5.8.2/BSDPAN
|   /usr/local/lib/perl5/5.8.2/mach
|   /usr/local/lib/perl5/5.8.2 .)
|   at /home/jsn/sbin/tryme.pl line 12.
|   BEGIN failed--compilation aborted at /home/jsn/sbin/tryme.pl line 12.
| 
| So I ran '# use.perl system' to no effect - I get the exact same error
| message. What do I do to get my old @INC back?

Some module will work, the pure perl ones, some won't, the xs ones (say the
ones written in C). Date::Calc is in the second category, the xs ones,
you'll have to deinstall it and reinstall it with the perl you use.

-- 
Mathieu Arnold


More information about the freebsd-perl mailing list