Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Oct 2004 00:27:40 +0200
From:      Erik Norgaard <norgaard@locolomo.org>
To:        questions@freebsd.org
Subject:   Re: How to update perl on FreeBSD 4.9R
Message-ID:  <4167145C.6070306@locolomo.org>
In-Reply-To: <BFDD426CB284C3C61541E9DF@utd49554.utdallas.edu>
References:  <addc34c604100811227addd077@mail.gmail.com> <0F7C78308FE3BA2A1FF3EEE3@utd49554.utdallas.edu> <addc34c604100811402adfd803@mail.gmail.com> <BFDD426CB284C3C61541E9DF@utd49554.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4167145C.6070306>