On Wednesday, August 21, 2002, at 05:34 , Bob Showalter wrote:
[..]
>
> Check for DOS line endings (CR/LF) on the script. Perl won't care, but the
> kernel will kvetch if it sees
>
>#!/usr/bin/perl^M
>
the really scary part is that had it been say
#!/usr/bin/perl -w^M
perl would ha
it's ok, it was written on windoze so it had the ^M in it. dos2unix'd it
and it works fine.
On Wed, Aug 21, 2002 at 09:14:14AM -0400, zentara wrote:
> On Wed, 21 Aug 2002 09:51:09 +0100, [EMAIL PROTECTED] (Mat
> Harris) wrote:
>
> >why, when i try to run one of my cgi scripts do i get a "bad
> >
On Wed, 21 Aug 2002 09:51:09 +0100, [EMAIL PROTECTED] (Mat
Harris) wrote:
>why, when i try to run one of my cgi scripts do i get a "bad
>interpreter, file not found" error? my shebang line is correct and works
>for every other perl script i run on that server. btw the script in
>question is the i
thanks, that was it. the fact that it came as a windows zip should have
given it away instantly.
thanks
On Wed, Aug 21, 2002 at 08:34:39 -0400, Bob Showalter wrote:
> > -Original Message-
> > From: Mat Harris [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 21, 2002 4:51 AM
> > To
> -Original Message-
> From: Mat Harris [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 21, 2002 4:51 AM
> To: [EMAIL PROTECTED]
> Subject: bad interpreter
>
>
> why, when i try to run one of my cgi scripts do i get a "bad
> interpreter, file not found" error? my shebang line is
>