> -----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 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]