[HEADS UP] perl symlinks in /usr/bin will be gone

Matthias Andree matthias.andree at gmx.de
Sun Jan 30 05:44:43 PST 2005


Erik Trulsson <ertr1013 at student.uu.se> writes:

>> Hardcoded paths in scripts are a mess. What if I installed Perl into
>> /opt/mumble on some other machine? /usr/freeware? /what/ever? Changed
>> $PREFIX and/or $LOCALBASE?
>
> Then you would have nobody but yourself to blame.

So ports not heeding PREFIX or LOCALBASE aren't buggy? Interesting POV.

> And what about all the scripts that administrators and users write that
> are not part of any port?  Scripts that were written according to the
> de-facto standard that having '#!/usr/bin/perl' on the first line of
> the script will work correctly.

As mentioned before, #! /usr/bin/env perl is the canonic SHORT way to
run perl, longer ways are in perlrun(1).

-- 
Matthias Andree


More information about the freebsd-ports mailing list