home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / perl / 7724 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  2.3 KB

  1. Path: sparky!uunet!psinntp!alsys1!yu1.yu.edu!manaster
  2. From: manaster@yu1.yu.edu (Chaim Manaster)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: *sigh* Yes, the eternal question: How do I run it under 4dos aga
  5. Message-ID: <1271@alsys1.aecom.yu.edu>
  6. Date: 8 Jan 93 19:16:31 GMT
  7. References: <0L1PwB5w165w@cybrspc.UUCP> <1267@alsys1.aecom.yu.edu> <C0Jq2p.FDD@world.std.com>
  8. Sender: news@alsys1.aecom.yu.edu
  9. Organization: School of Engineering and Applied Sciences, UCLA
  10. Lines: 55
  11. Nntp-Posting-Host: yu1.yu.edu
  12.  
  13. In article <C0Jq2p.FDD@world.std.com> aml@world.std.com (Andrew M Langmead) writes:
  14. >In the DOS version, if you have 4DOS to execute the file FOO.PL with the
  15. >perl interpreter, and add a parameter BAR (FOO BAR) the command that a
  16. >actually gets executed is PERL.EXE FOO.PL BAR
  17. >BAR is now available in the @ARGV array. Any options to perl itself can
  18. >be specified on the first line as #!/usr/bin/perl -n
  19. >or by explicitly starting the perl interpreter with the appropriate options
  20. >PERL -n FOO.PL BAR
  21.  
  22. I thought that the point of invoking the 4dos convention was that
  23. the unix #! convention doesn't work in DOS.
  24.  
  25. Also, if the perl script is named "howdy" with parameters firstname
  26. and lastname then the command line would not refernce perl at all,
  27. but only howdy, as in: howdy(.pl) firstname lastname, and
  28. the only refernce to perl would be IN howdy but not on the command
  29. line. This seems to contadict your above statement. What am I
  30. misunderstanding?
  31.  
  32. Thanks again for the help.
  33.  
  34. Henry Manaster
  35.  
  36.  
  37. x
  38. x
  39. x
  40. x
  41.  
  42. >>Thanks for the help.
  43. >
  44. >>Henry Manaster
  45. >
  46. >>-- 
  47. >>***************************************************************************
  48. >>    Henry Manaster          *     EMail: manaster@yu1.yu.edu
  49. >>    Brooklyn, NY            *
  50. >>                                *
  51. >>    Disclaimer: The above is not necessarily MY opinion nor that 
  52. >>                of anyone else :-)  ????!
  53. >>****************************************************************************
  54. >> 
  55. >-- 
  56. >----
  57.  
  58.  
  59. -- 
  60. ***************************************************************************
  61.     Henry Manaster          *     EMail: manaster@yu1.yu.edu
  62.     Brooklyn, NY            *
  63.                                 *
  64.     Disclaimer: The above is not necessarily MY opinion nor that 
  65.                 of anyone else :-)  ????!
  66. ****************************************************************************
  67.  
  68.