I'm reaching here, but another possibility is to type type perl at the command line, which will give you a bit more information than which perl. In particular, it will let you know if your perl is a link to another location (it may say something like, 'perl is hashed').
You may want to check your $PATH, which might give you a hint about what's going on, or where things are being looked for. You might also check your .profile and .bashrc (or whatever the corresponding files would be for your setup), to see whether something in them has been changed.
In reply to Re: problem with shebang
by spiritway
in thread problem with shebang
by miraceti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |