From owner-freebsd-current Wed May 8 0:55:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id 1FE7337B400; Wed, 8 May 2002 00:55:44 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g487th431606; Wed, 8 May 2002 00:55:43 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id A5E5838CC; Wed, 8 May 2002 00:55:43 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Robert Watson Cc: Mark Murray , current@FreeBSD.ORG Subject: Re: The future of perl on FreeBSD In-Reply-To: Date: Wed, 08 May 2002 00:55:43 -0700 From: Peter Wemm Message-Id: <20020508075543.A5E5838CC@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Robert Watson wrote: > First question is -- people are going to be upgrading FreeBSD. Having a > stale /usr/bin/perl is going to muck stuff up royally. Likewise, many > existing scripts use /usr/bin/perl at that location. Can we simply have a > symlink that points /usr/bin/perl at /usr/local/bin/perl (and any related > pseudo-programs such as suidperl, etc) as part of the normal install along > with the perl package. Likewise, it would be good to clear out the lib > stuff if we can to prevent the inevitable breakage there during the > upgrade. If we hook symlink creation into the build, that would also > force us buildworld/installworld'ers to install the package, which would > improve exposure. Do Perl applications typically hard code paths, or just > rely on Perl to "know where to look"? We have several choices.. From installing a symlink pointing to wherever the default perl package is, through to a simple redirector that searches $PATH and/or looks in a few well-known locations. Heck, python often uses "#! /usr/bin/env python". This works for perl scripts too. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message