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: [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 
> > correct and works
> > for every other perl script i run on that server. btw the script in
> > question is the ikonboard forum solution from www.ikonboard.com. does
> > anyone know of any bugs with it or another reason why i get this
> > apparently incorrect error.
> 
> 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

-- 
Mat Harris                      OpenGPG Public Key ID: CC14DD34
[EMAIL PROTECTED]        www.genestate.com       

Attachment: msg06315/pgp00000.pgp
Description: PGP signature

Reply via email to