> -----Original Message----- > From: Rob Richardson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 15, 2003 9:05 AM > To: [EMAIL PROTECTED] > Subject: RE: Script that runs on my Win98 box and the Unix server > > > Beau, > > Perhaps then my question would have been better to ask on the CGI list. > The script in question is a CGI script being executed through Internet > Explorer and Apache. When the first line of my script is "#!perl", the > script executes as desired. When the first line is "#!usr/bin/perl", > the result is an Internal Server Error page and a message in the log > file that says that the child process can't be spawned. > > RobR >
Okay - CGI land - wheew! I thought I had really missed the boat on my understanding of win32 cmd.com :) Have you tried one of the following: create a directory on your win98 box: \usr\bin In that directory put a shortcut (do you have shortcuts on win98?) to run perl.exe in \perl wherever -or- Do a similar thing with a perl.bat batch file. If \perl (\perl\bin ?) is in your path, the perl .dlls should be found OK. Aloha => Beau. > --- "Beau E. Cox" <[EMAIL PROTECTED]> wrote: > > > I am really confused by your statement that on Win98 the first script > > line is used AT ALL. On the windows platforms I have used to > > run perl script (Win95, (maybe 98), ME, NT, 2000, XP) the system > > has no concept of reading the script to determine what executable > > to use. Are you using a special shell (cygwin, msys, etc.) or > > running from the standard cmd.com? The standard windows cmd.com > > will attempt to execute _any_ file with the extensions .exe, > > .bat, and maybe still .com. It has no concept of the 'executable' > > permission bit becuase the is no such thing in the Windows/DOS file > > attributes. > > > > The standard windows shell uses a file association table so that > > an extension, say .pl, can be associated with perl.exe. > > > > Please help me understand the behaviour you describe. > > > > Aloha => Beau; > > > > > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]