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

Re: "Warning: perl appears in your path"

Thread Previous | Thread Next
Aristotle Pagaltzis
September 27, 2016 15:30
Re: "Warning: perl appears in your path"
Message ID:
* Dave Mitchell <> [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.)

Aristotle Pagaltzis // <>

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About