Adam Moore wrote:
>
> > Is there any easier way of debugging Perl scripts? Modifying the
> > script and putting a few print statements is a bit of a pain..
> > espcially when the server is a remote server and slow..
>
> If lag is biting, do your development on a local machine. :]
>
> For debugging CGIs, quite often they'll dump useful information to stderr
> that you won't see, it can be helpful to leave a 'tail -f' going on
> error_log (if you're running Apache) in the background while you work.
If you use CGI.pm you can actually debug from the command line. It's
clever enough to knwo how it's being called and if you use your script
from the comand line, CGI.pm gets you to enter name/value pairs from the
command line and then runs. Very handy and of course you can poke it
through the perl deugger if you're really desperate.
Cheers,
Graeme
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text