[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] CGI Newbie
- Subject: RE: [cobalt-users] CGI Newbie
- From: "Dan Kriwitsky" <dan@xxxxxxxxxxxxx>
- Date: Wed May 10 11:24:25 2000
> >
> > use CGI::Carp qw(fatalsToBrowser);
> >
> > right at the top of the script after the #!/usr/bin/perl. Helps
> simply debug
> > from the browser.
>
> I didn't know that you could do that. Cool.
>
> Another way to see what is going on and to troubleshoot is to run
> the script
> from the command line. It will echo the errors to STDOUT.
>
Yep. But when someone posts their "newbie" status, I usually recommend a
browser type of simple solution to be tried before sending them on another
learning exercise, such as running a script via Telnet as they're probably
not familiar with using Telnet.
--
Dan Kriwitsky