in reply to Re: OS independent perl script
in thread OS independent perl script
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 Section
Seekers of Perl Wisdom