home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!timbuk.cray.com!equalizer!sdcrsi!silogic!markd
- From: markd@silogic.uucp (Mark C. DiVecchio (K3FWT))
- Subject: #! Emulation in MSDOS
- Message-ID: <1992Aug13.044323.1094@silogic.uucp>
- Organization: Silogic Systems, San Diego, CA
- Date: Thu, 13 Aug 1992 04:43:23 GMT
- Lines: 21
-
-
- In a recent posting, I saw a reference to #! emulation in MSDOS. The
- posting showed a code fragment which was to be place at the front of the
- file:
-
- @REM=(qq!
- @echo off
- perl %0.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
- @goto end :) if 0;
-
- After trying this, it became obvious that a line or two is required at
- the end of the file after the Perl code. I'm not versed enough in Perl
- to figure out the lines at the end.
-
- Can anyone help?
-
- --
- Mark DiVecchio, Silogic Systems, 619-549-9841 K3FWT
- ----- 9888 Carroll Center Road, Suite 113, San Diego, CA 92126 -----
- markd@silogic.uucp BBS 619-549-3927
- ...!ucsd!sdcrsi!silogic!markd sdcrsi!silogic!markd@ucsd.edu
-