http://www.perlmonks.org?node_id=535589


in reply to Re: Execute a Perl code without ".pl" extension
in thread Execute a Perl code without ".pl" extension

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.