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'
alias is a good thing to check (alias -p). Similarly, a bash function perl defined in your environment could cause a similar effect and are not reported by alias -p. If that's not expected and it exists, then something fish is happening for sure. I don't know off the top of my head how to see what bash functions are currently defined. I believe which is aware of aliases, not sure about bash functions. Does which which what you expect? Maybe try it with the absolute path.
|