From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 22:47:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DB1416A4CE for ; Fri, 8 Oct 2004 22:47:59 +0000 (GMT) Received: from smtp14.eresmas.com (smtp14.eresmas.com [62.81.235.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FE7343D3F for ; Fri, 8 Oct 2004 22:47:59 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.108.63] (helo=mx01.eresmas.com) by smtp14.eresmas.com with esmtp (Exim 4.10) id 1CG3Wm-0004Dn-00 for questions@freebsd.org; Sat, 09 Oct 2004 00:47:56 +0200 Received: from [62.174.254.182] (helo=top.daemonsecurity.com) by mx01.eresmas.com with esmtp (Exim 4.41) id 1CG3Wk-0001dt-RF for questions@freebsd.org; Sat, 09 Oct 2004 00:47:55 +0200 Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by top.daemonsecurity.com (Postfix) with ESMTP id BF1D4A1426 for ; Sat, 9 Oct 2004 00:28:33 +0200 (CEST) Message-ID: <4167145C.6070306@locolomo.org> Date: Sat, 09 Oct 2004 00:27:40 +0200 From: Erik Norgaard Organization: Loco Lomography User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040918 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: questions@freebsd.org References: <0F7C78308FE3BA2A1FF3EEE3@utd49554.utdallas.edu> In-Reply-To: X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) Subject: Re: How to update perl on FreeBSD 4.9R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 22:47:59 -0000 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