RE: Turning off warnings causes scripts to fail

2001-08-21 Thread Curtis Poe
It was the ^M at the end of the shebang line that was causing things to fail. Seems someone uploaded a zipped file and extracted the archive without bothering to fix the line endings! Cheers, Curtis Poe = Senior Programmer Onsite! Technology (http://www.onsitetech.com/) "Ovid" on http://w

Re: Turning off warnings causes scripts to fail

2001-08-20 Thread Brett W. McCoy
On Mon, 20 Aug 2001, Curtis Poe wrote: > Just verified that there *is* a ^M at the end of the shebang (seems > that someone unzipped a script rather than using FTP), but then our > colo went down, so I can't test that this is causing the problem. > However, I just tested it under Cygwin and the ^

Re: Turning off warnings causes scripts to fail

2001-08-20 Thread Curtis Poe
--- Jeff 'japhy/Marillion' Pinyan <[EMAIL PROTECTED]> wrote: > I'd say that you've got a ^M at the end of the line. > > cat -vet somescript.cgi > > will tell you for certain. Just verified that there *is* a ^M at the end of the shebang (seems that someone unzipped a script rather than using

RE: Turning off warnings causes scripts to fail

2001-08-20 Thread Gibbs Tanton - tgibbs
So, if you take out the -w but leave in the -T it still will not run? -Original Message- From: Curtis Poe To: [EMAIL PROTECTED] Sent: 8/20/2001 5:17 PM Subject: Turning off warnings causes scripts to fail Time for me to ask a question instead of answering one. I'm having a problem with

Re: Turning off warnings causes scripts to fail

2001-08-20 Thread Jeff 'japhy/Marillion' Pinyan
On Aug 20, Curtis Poe said: >One of our scripts runs fine from the command line but wouldn't run >through the browser. We'd type > >perl somescript.cgi > >and everthing would run fine. > >However, when we tried > >./somescript.cgi > >we would get a "No such file or directory" error. The s