How to update perl on FreeBSD 4.9R
Erik Norgaard
norgaard at locolomo.org
Fri Oct 8 15:47:59 PDT 2004
Paul Schmehl wrote:
> When you finish, you need to run use.perl port (read pkg-message), and
> you'll have to rebuild any ports you've already built that use perl
> since you will have changed the default perl installation.
Try run this: perl -e 'print join "\n", @INC' This shows the paths which
perl will look for modules, the old version paths should be included,
mine is:
/usr/local/lib/perl5/site_perl/5.8.4/mach
/usr/local/lib/perl5/site_perl/5.8.4
/usr/local/lib/perl5/site_perl/5.005
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.4/BSDPAN
/usr/local/lib/perl5/5.8.4/mach
/usr/local/lib/perl5/5.8.4
.
So it is not necesary to reinstall all perl modules. If you need to
toggle @INC the Perl manual recommends you to 'use lib'.
Cheers, Erik
--
Ph: +34.666334818 web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
More information about the freebsd-questions
mailing list