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: <1267@alsys1.aecom.yu.edu>
- Date: 7 Jan 93 22:43:43 GMT
- References: <kenc.725847059@sol> <0L1PwB5w165w@cybrspc.UUCP>
- Sender: news@alsys1.aecom.yu.edu
- Organization: School of Engineering and Applied Sciences, UCLA
- Lines: 42
- Nntp-Posting-Host: yu1.yu.edu
-
- In article <0L1PwB5w165w@cybrspc.UUCP> roy%cybrspc@cs.umn.edu (Roy M. Silvernail) writes:
- >kenc@sol.acs.unt.edu (Ken Corey - Operator) writes:
- >
- >> anyway, what's the line I put in 4dos.ini so that 4dos recognixses .pl as an
- >> executable, and runs perl on that script?
- >
- >Not in the .ini, but in autoexec.bat, put
- >
- >set .pl=c:\where\ever\perl.exe
- >
- >Works for me. For command line flags, put 'em in the #!/usr/bin/perl
- >line at the beginning of the script.
- >--
-
- Could you provide an example of using the command line flags and
- how they go into the #!/usr/bin/perl line when using 4dos. Also
- what would the actual command line inokation be? Also is there a
- difference between "flags" and file parameters on the command line?
-
- I also don't quite understand the logic here? Isn't the # sign the
- comment marker in DOS, so how is anything on that line actually
- used? Also in DOS it is the \ rather than the / that demarks
- directories. Is this auto translated?
-
- Also, how are the flags and parameters from either the command line
- or the #! line referenced in the Perl script. I thought I
- understood this in the Unix version, but I am even more confused
- in the DOs versions. I am obviously new to all of this.
-
- 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 :-) ????!
- ****************************************************************************
-
-