For Windows, there is a really simple .cmd file that I use to launch a plain Perl script with the same name:
@echo off perl -w %~dpn0.pl
For a file test.cmd, this will launch perl -w test.pl in the same directory as test.cmd.
In reply to Re^2: OS independent perl script
by Corion
in thread OS independent perl script
by vinoth.ree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |