Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2005 22:16:39 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Oliver Lehmann <lehmann@ans-netz.de>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: [HEADS UP] perl symlinks in /usr/bin will be gone
Message-ID:  <Pine.NEB.3.96L.1050129221310.82911R-100000@fledge.watson.org>
In-Reply-To: <20050129220905.46ab86ae.lehmann@ans-netz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Jan 2005, Oliver Lehmann wrote:

> Anton Berezin wrote:
> 
> > In practical terms this will mean a one-time sweep of your scripts in
> > order to convert them, in a typical case, from #! /usr/bin/perl to
> > #! /usr/local/bin/perl.
> 
> Wouldn't that break most of the 3rd party scripts out in the world?

The following URL:

http://www.googlefight.com/cgi-bin/compare.pl?q1=%23%21%2Fusr%2Fbin%2Fperl&q2=%23%21%2Fusr%2Fbin%2Fenv+perl&B1=Make+a+fight%21&compare=1&langue=us

Suggests firmly that the answer to that question is yes.  What worries me
particularly about the proposed change is that it requires administrators
to touch the scripts of their user's files as part of an upgrade -- this
is not a good situation for an ISP to be put in.  That or to immediately
re-add the symlink on the basis that the practical reality is that
(despite some limited documentation to the contrary), that's the way
everyone runs perl.  I have the suspicion that while removing this symlink
may encourage programming cleanliness, it's going to shoot a lot of feet
unnecessarily.  Also, since env isn't a built-in, it means exec runs twice
for every perl script, not once...

Robert N M Watson




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1050129221310.82911R-100000>