Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 May 2002 19:49:52 +0000
From:      Tony Finch <dot@dotat.at>
To:        Peter Wemm <peter@wemm.org>
Cc:        Robert Watson <rwatson@FreeBSD.ORG>, Mark Murray <mark@grondar.za>, current@FreeBSD.ORG
Subject:   Re: The future of perl on FreeBSD 
Message-ID:  <E175XRg-000JNZ-00@hand.dotat.at>
In-Reply-To: <20020508075543.A5E5838CC@overcee.wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Peter Wemm <peter@wemm.org> wrote:
>
> 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.

Perl is much more frequently run with arguments on the shebang line,
typically "#!/usr/bin/perl -w", and "#!/usr/bin/env perl -w" isn't
portable to systems other than FreeBSD (which has an extension of
traditional shebang handling) so is unlikely to get wide acceptance.

<http://www.uni-ulm.de/~s_smasch/various/shebang/>; is recommended.

Tony.
-- 
f.a.n.finch <dot@dotat.at> http://dotat.at/
SOUTHEAST ICELAND: SOUTHEASTERLY 5 OR 6 VEERING SOUTHWESTERLY 3 OR 4. RAIN
CLEARING. MODERATE BECOMING GOOD.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E175XRg-000JNZ-00>