As others have pointed out, having #!perl will not work as Unix systems need the full path to the executable.
There is a way to achieve this, using part of the mechanism that is ExtUtils::MakeMaker, uses to handle scripts (exe_files):
perl -MExtUtils::MY -e 'MY->fixin(@ARGV)' *.pl
See my use.perl journal on the subject.
--
Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)
In reply to Re: #!perl Question
by rinceWind
in thread #!perl Question
by crusty_collins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |