home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / perl / 5293 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.0 KB  |  31 lines

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