Re: [ILUG] [OT-ish]Perl debugging

From: Donncha O Caoimh (donncha.ocaoimh at domain tradesignals.com)
Date: Tue 14 Sep 1999 - 17:25:06 IST


Check the first line.. is the perl executable in the right place?

ie:
#!/bin/perl
#!/usr/local/bin/perl

Donncha.

Robert Elliott wrote:
>
> Howdy, all.
> I've got a perl script (not mine, I hasten to add) that I'm currently
> trying to debug. It's called by a web page, and returns an uninformative
> 'internal server error'. When I run it from the command line I get a
> ": no such file or directory
> but the directory setup all seems fine.
> When I run Perl -w script.pl it seems to output properly.
> It's not a permissions thing.
> <plaintive>help</plaintive>



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:33 GMT