Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: [OT] 'perl' is not the 'perl' reported by 'which perl'

by syphilis (Archbishop)
on Aug 22, 2020 at 11:38 UTC ( [id://11120989]=note: print w/replies, xml ) Need Help??


in reply to Re^2: [OT] 'perl' is not the 'perl' reported by 'which perl'
in thread [OT] 'perl' is not the 'perl' reported by 'which perl'

which(1) can be pretty squirrelly and and should be avoided.

Yes - but the main problem with it is simply that its documentation misses out on some crucial detail.
If that documentation (as provided by man which) mentioned that it didn't always provide what the current documentation (as provided by man which) states that it does, then you could not be critical of it.
Even better if that documentation recommended using "type" instead.
But I find it a bit laughable that you have to do type perl in order to get the information that man which falsely claims as being always returned by which perl

Anyway ... thanks (as always) to all respondents for their contributions.
And, in future, whenever I see anyone on perlmonks respond to a question with "which perl ?" I'll personally set them straight ;-)

Cheers,
Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11120989]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-24 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found