From owner-freebsd-current Thu May 9 16:52:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id A0B1937B408 for ; Thu, 9 May 2002 16:52:36 -0700 (PDT) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g49NqYJG192934; Thu, 9 May 2002 19:52:34 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20020509182927.A71548@allusion.net> References: <691.1020958309@axl.seasidesoftware.co.za> <20020509182927.A71548@allusion.net> Date: Thu, 9 May 2002 19:52:34 -0400 To: Jordan DeLong , Sheldon Hearn From: Garance A Drosihn Subject: Re: The future of perl on FreeBSD Cc: current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 At 6:29 PM -0500 5/9/02, Jordan DeLong wrote: > > Symlink or redirector, but please not this. :-) > >Shouldn't ports *not* touch anything outside of ${PREFIX}? >I, for one, can't stand when ports do that >(except /etc/shells -- that's different). I agree. That's why a redirector makes more sense, because the redirector can be part of the base-system, and the port can be installed in /usr/local. >Seems that neither symlink nor redirector is neccesary; >portable perl shebangs use #!/usr/bin/env perl to search >$PATH for it, and if the local sysadmin wants they can >make a symlink. Many many perl scripts already exist which do not do this. Yes, we now know that it would be more portable to write a script that way, but that doesn't magically change all the scripts which are already written and which are very used to assuming that perl is at /usr/bin/perl. Also, the /usr/bin/env approach means that scripts are now subject to the setting of $PATH, and that is not necessarily a good thing. Remember that the person running the script is not necessarily the person who wrote it, and is not necessarily aware that it even is a perl script, or that PATH is important when running that script. (PATH would not be important for a script which is using /usr/bin/perl) -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message