[comp.lang.perl] MSDOS Perl. Executing Perl Scripts.

abe@dist.unige.it (Alberto Cabri) (10/25/90)

Does anybody know how to make an MSDOS Perl script executable without recalling

the Perl Interpreter? 

Say, I know that if I use a simple ".BAT" my problem is out, but I'd like to

use something like this following (for UNIX):

#!/bin/perl
eval "exec /bin/perl -S $0 $*"
 if $running_under_some_shell;

If this is impossible, what about including it in new releases of MSDOS Perl?
Thanks!


					Abe@Carla.Dist.Unige.IT