What do you get for
$ ls -l /opt/perl/bin/perl $ which -a perl
The shell's search behavior (mimicked by which) is to skip programs if their binary isn't executable for the user in question, even if it comes earlier in $PATH.
P.S.: it's usually not a good idea to make directories like /opt/perl world-writable...
In reply to Re: Permissions for a separately installed perl
by almut
in thread Permissions for a separately installed perl
by wfsp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |