I always add a shebang line but I often use the perl script args to execute scripts. In particular, it is useful to test a script with multiple versions of perl or different installations¹.
I work on a variety of machines, some with multiple installations (usually one for general use and occasionally another for something specialized) and I keep a personal installation in my NFS'd home directory.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: "perl script.pl args" or "script.pl args"
by sauoq
in thread "perl script.pl args" or "script.pl args"
by dragonchild
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |