This isn't completely true
1) This will only work if the perl executable is in /usr/bin/ (which just happens to be the most popular place to put it).
2) It is not necessary to rename the script as *nix doesn't care about extensions.
In reply to Re^2: Execute a Perl code without ".pl" extension
by Moriarty
in thread Execute a Perl code without ".pl" extension
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |