http://qs321.pair.com?node_id=11120982


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'

This link might be useful for the OP, especially the type command

Ha ha, over twenty years ago I was ordered by our Unix guru at work to never use the C shell and to "always use the type command, never the which command". Being frightened of our Unix guru, I've always followed that advice ... but been surprised many times over the years by folks looking over my shoulder asking "what is the type command?" - my experience has been that most people use the which command and have never even heard of the type command! ... perhaps showing the importance of a descriptive name.

See also:

References Added Later

See Also