From owner-freebsd-current Thu May 9 0:15:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id F042C37B40A for ; Thu, 9 May 2002 00:15:08 -0700 (PDT) Received: from storm.FreeBSD.org.uk (uucp@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.2/8.12.2) with ESMTP id g497F7eu085922; Thu, 9 May 2002 08:15:07 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.12.2/8.12.2/Submit) with UUCP id g497F7Fp085921; Thu, 9 May 2002 08:15:07 +0100 (BST) Received: from grimreaper.grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.3/8.12.3) with ESMTP id g497DdjV085046; Thu, 9 May 2002 08:13:39 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Message-Id: <200205090713.g497DdjV085046@grimreaper.grondar.org> To: Dag-Erling Smorgrav Cc: current@FreeBSD.ORG Subject: Re: The future of perl on FreeBSD References: In-Reply-To: ; from Dag-Erling Smorgrav "09 May 2002 00:18:41 +0200." Date: Thu, 09 May 2002 08:13:38 +0100 From: Mark Murray 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 > --=-=-= > > Peter Wemm writes: > > 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. > > As previously posted... I like this util, but I think it shouldn't be perl-specific. How about if it used argv[0] to find out what it is called, and used that to launch the real interpreter (whichever interpreter - perl, suidperl, ruby etc). There's need to be a bit of security checking too (buffers, appropriate paths and so on). Maybe a config file for things like ${PREFIX}? M -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message