From owner-freebsd-questions@FreeBSD.ORG Fri Dec 31 18:37:47 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 D23EB16A4CE for ; Fri, 31 Dec 2004 18:37:47 +0000 (GMT) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id A903043D39 for ; Fri, 31 Dec 2004 18:37:47 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from [172.16.1.36] (utdvpn084062.utdallas.edu [129.110.84.62]) by smtp1.utdallas.edu (Postfix) with ESMTP id EFBBB389047; Fri, 31 Dec 2004 12:37:46 -0600 (CST) Date: Fri, 31 Dec 2004 12:37:41 -0600 From: Paul Schmehl To: Karl Agee , freebsd-questions@freebsd.org Message-ID: <2147483647.1104496661@[172.16.1.36]> In-Reply-To: References: X-Mailer: Mulberry/3.0.3 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: upgrading perl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Dec 2004 18:37:47 -0000 --On Thursday, December 30, 2004 7:54 PM -0800 Karl Agee wrote: > Freebsd 4.11-pre. I am working on learning perl, and have perl 5.00x > that is in the base system when I installed 4.10-Release. Since most of > the learning materials out there are based on later verisions esp since > 5.6.x some of the features arent in this older version. > > I am considering upgrading to 5.8.5 via ports, but, dont know if that > will break anything. > > Just being cautious... It's good to be cautious. :-) If you want to switch to the ports version of perl, then after you run make install clean in the port, you will need to do the following: Type "use.perl ports" at the commandline. This will switch perl from the system version to the ports version. Until you do this, your system will still be using the system version. Furthermore, you can always revert back to the system version by typing "use.perl system" at the commandline. After you do that, you will need to run "make reinstall" in any port that you've installed that uses perl. You can also install all the CPAN modules using the base system, so there's no need to upgrade to the ports version unless you just want to. (I chose to do that on a server I maintain, but it worked fine using the system perl.) Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu