I have a little perl script that I can't execute properly. The problem
is making it executable, not the script itself.
Here is what I am doing: the script is sitting in a directory 'bin' in
my home directory. It's executable, and my PATH is set to include
m2:~$ ls -l | grep bin
drwxr-xr-x 2 uuser sndusrs 4096 Feb 14 02:09 bin
m2:~$ ls -l bin
-rwxr--r-- 1 uuser sndusrs 5387 Feb 14 02:08 rgrep.pl
m2:~$ echo $PATH
/usr/local/bin/ <snip> /home/uuser/bin
But when I try to execute it, I get:
bash: /home/uuser/bin/rgrep.pl: No such file or directory
What am I doing wrong?