home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / perl / 5875 < prev    next >
Encoding:
Text File  |  1992-09-11  |  1.4 KB  |  41 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!concert!sas!mozart.unx.sas.com!sasdxk
  3. From: sasdxk@skyhawk.unx.sas.com (Dave Kolb)
  4. Subject: OS/2 Perl via .cmd file w/ EXTPROC
  5. Originator: sasdxk@skyhawk.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <BuFHqL.Jrw@unx.sas.com>
  8. Date: Fri, 11 Sep 1992 19:20:45 GMT
  9. Nntp-Posting-Host: skyhawk.unx.sas.com
  10. Organization: SAS Institute Inc.
  11. Lines: 28
  12.  
  13.  
  14. Has anyone gotten the auto perl invocation to work as documented in the
  15. perl os2/readme.os2 file?  The suggestion was to add a line:
  16.  
  17. EXTPROC /path/perl.exe -S
  18.  
  19. as the first line of a .cmd file that was actually a perl program.
  20.  
  21. And indeed, os2's "help extproc" shows this should invoke a alternate
  22. shell (presumably to execute the rest of the .cmd file) but all that 
  23. happen's is I get a message:
  24.  
  25. Can't execute <myfile>.cmd.
  26.  
  27. The best I've been able to accomplish is to add the name of another
  28. perl script file as an argument to the EXTPROC statment and then perl
  29. runs that program but that doesn't seem to be the point of EXTPROC or
  30. any better than just having a .cmd file that runs perl straightforward.
  31.  
  32. Thanks for any suggestions,
  33.  
  34.  
  35. -- 
  36. David Kolb                    Opinions are my own not SAS'
  37. SAS Institute, Inc.           EMAIL:      sasdxk@unx.sas.com
  38. SAS Campus Drive - J206       Phone:      (919) 677-8000 x6827
  39. Cary, NC  27513-2414 USA      FAX:        (919) 677-8123
  40.  
  41.