Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by LanX (Saint)
on Aug 22, 2020 at 14:23 UTC ( [id://11120994]=note: print w/replies, xml ) Need Help??


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

I think the excellent links provided in Re^3: [OT] 'perl' is not the 'perl' reported by 'which perl' (which vs type References) explain why.

In short: which was invented as an executable for csh , but bash later implemented type as proper built-in.

In other words "which" is an alien to bash's logic.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-03-28 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found