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
> >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.
> 
> 1. you somehow got a space in your shebang line, sometimes they
>    look like #! /usr/bin/perl  instead of #!/usr/bin/perl
> 2. you need to do a dos2unix conversion on the file
> 
> If that dosn't work, post the top 50 lines of the file, let everyone
> look.
> 
> 
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Attachment: msg06318/pgp00000.pgp
Description: PGP signature

Reply via email to