develooper Front page | perl.perl5.porters | Postings from September 2016

Re: "Warning: perl appears in your path"

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
September 27, 2016 15:30
Subject:
Re: "Warning: perl appears in your path"
Message ID:
20160927152954.GA89779@plasmasturm.org
* Dave Mitchell <davem@iabyn.com> [2016-09-27 16:12]:
> When installing a non-devel perl, you typically get a message like the
> following on STDERR:
>
>     Warning: perl appears in your path in the following locations
>     beyond where we just installed it:
>         /bin/perl
>         /usr/bin/perl
>
> My thoughts are:

I think the intent of the message needs translation into contemporary
mores, where it applies when perl is being installed a) to somewhere
in $PATH which is b) already shadowed by another perl in $PATH.

This is a rare constellation, so the message would largely vanish.

But then it should stay a warning.

(And it should list all perls in $PATH, as it already does, not just the
one that triggered the message. Otherwise it might create the impression
that that is the only other perl in $PATH, in exactly the kind of moment
where you most need to not be confused about the state of your system.)

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About