[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Tracking an Error within a Perl script



On Thu, 7 Nov 2002, Ian wrote:

> > Did you read the script, and set file paths to ones that will work on your
> > server.
>
> Yup, thats why I cant understand it. I have done scripts more complicated than
> this one before, but this is a pain LOL
>
> > What do you get if you ruyn the script from the command line
>
> Okay, time to call me thick I think!
>
> How do I run it from the command line.
>
> I tried just issueing YaBB.pl but it didnt work.
>
perl -w YaBB.pl
and
Another way to debug a perl script is to put the following
command in the second line of the perl script after #!/usr/bin/perl

use CGI::Carp qw(fatalsToBrowser);

Gerald
--
http://frontstreetnetworks.com | http://raqware.com
Front Street Networks LLC  | Phone: +1 203-785-0699
229 Front Street, Ste. C, New Haven, CT. 06513-3203