I normally use symlinks for extensionless names for scripts. In your case, with psr.pl in ~/bin, try:
cd ~/bin ln -svi psr.pl psr
This creates a symbolic link psr for the shell to find when it goes looking for commands. If you currently can run psr by entering psr.pl, then this will fix your problem.
In reply to Re: Perl script w/o .pl extension broken on Ubuntu?
by jcb
in thread Perl script w/o .pl extension broken on Ubuntu?
by BrianP
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |