FAQ 3.22 How can I get "#!perl" to work on [MS-DOS,NT,...]?
  Home FAQ Contact Sign in
Your Ad Here
comp.lang.perl.misc only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.perl.misc Profile…

 Up
FAQ 3.22 How can I get "#!perl" to work on [MS-DOS,NT,...]?         


Author: PerlFAQ Server
Date: May 11, 2008 18:03

This is an excerpt from the latest version perlfaq3.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

--------------------------------------------------------------------

3.22: How can I get "#!perl" to work on [MS-DOS,NT,...]?

For OS/2 just use

extproc perl -S -your_switches

as the first line in "*.cmd" file ("-S" due to a bug in cmd.exe's
"extproc" handling). For DOS one should first invent a corresponding
batch file and codify it in "ALTERNATE_SHEBANG" (see the dosish.h file
in the source distribution for more information).
Show full article (2.54Kb)
no comments