Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!eru!hagbard!sunic!mcsun!i2unix!abe From: abe@dist.unige.it (Alberto Cabri) Newsgroups: comp.lang.perl Subject: MSDOS Perl. Executing Perl Scripts. Message-ID: <1990Oct25.095615.16257@dist.unige.it> Date: 25 Oct 90 09:56:15 GMT Sender: abe@carla.UUCP (Alberto Cabri) Reply-To: abe@carla.UUCP (Alberto Cabri) Organization: DIST, University of Genova, Italy Lines: 17 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