From: roy%[email protected] (Roy M. Silvernail)
Newsgroups: comp.lang.perl
Subject: DOS, 4dos and Perl
Message-ID: <6JDH11w164w@cybrspc>
Date: Tue, 16 Apr 91 00:10:28 CDT
Organization: Villa CyberSpace, Minneapolis, MN

I don't know why I never thought of this before...

Instead of the kludgy batchfile wrapper for DOS Perl programs, 4dos
users have another option. I happened across it in the 4dos TFM just
now. 4dos allows you to declare other executable extensions with a
simple environment variable!

I already give my Perl programs a .pl extension, so I simply had to
'set .pl=c:\mybin\perl.exe' and my Perl scripts are now automagically
executable. 4dos even searches the path for the executable.

--
Roy M. Silvernail --  roy%[email protected] - OR-  [email protected]
 perl -e '$x = 1/20; print "Just my \$$x! (adjusted for inflation)\n"'
       [space reserved for clever quote]{mail your submissions}