home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psinntp!alsys1!yu1.yu.edu!manaster
- From: manaster@yu1.yu.edu (Chaim Manaster)
- Newsgroups: comp.lang.perl
- Subject: Re: *sigh* Yes, the eternal question: How do I run it under 4dos aga
- Message-ID: <1271@alsys1.aecom.yu.edu>
- Date: 8 Jan 93 19:16:31 GMT
- References: <0L1PwB5w165w@cybrspc.UUCP> <1267@alsys1.aecom.yu.edu> <C0Jq2p.FDD@world.std.com>
- Sender: news@alsys1.aecom.yu.edu
- Organization: School of Engineering and Applied Sciences, UCLA
- Lines: 55
- Nntp-Posting-Host: yu1.yu.edu
-
- In article <C0Jq2p.FDD@world.std.com> aml@world.std.com (Andrew M Langmead) writes:
- >In the DOS version, if you have 4DOS to execute the file FOO.PL with the
- >perl interpreter, and add a parameter BAR (FOO BAR) the command that a
- >actually gets executed is PERL.EXE FOO.PL BAR
- >BAR is now available in the @ARGV array. Any options to perl itself can
- >be specified on the first line as #!/usr/bin/perl -n
- >or by explicitly starting the perl interpreter with the appropriate options
- >PERL -n FOO.PL BAR
-
- I thought that the point of invoking the 4dos convention was that
- the unix #! convention doesn't work in DOS.
-
- Also, if the perl script is named "howdy" with parameters firstname
- and lastname then the command line would not refernce perl at all,
- but only howdy, as in: howdy(.pl) firstname lastname, and
- the only refernce to perl would be IN howdy but not on the command
- line. This seems to contadict your above statement. What am I
- misunderstanding?
-
- Thanks again for the help.
-
- Henry Manaster
-
-
- x
- x
- x
- x
-
- >>Thanks for the help.
- >
- >>Henry Manaster
- >
- >>--
- >>***************************************************************************
- >> Henry Manaster * EMail: manaster@yu1.yu.edu
- >> Brooklyn, NY *
- >> *
- >> Disclaimer: The above is not necessarily MY opinion nor that
- >> of anyone else :-) ????!
- >>****************************************************************************
- >>
- >--
- >----
-
-
- --
- ***************************************************************************
- Henry Manaster * EMail: manaster@yu1.yu.edu
- Brooklyn, NY *
- *
- Disclaimer: The above is not necessarily MY opinion nor that
- of anyone else :-) ????!
- ****************************************************************************
-
-