<?xml version="1.0" encoding="windows-1252"?>
<node id="51225" title="Re: use CGI or die;" created="2001-01-11 21:08:56" updated="2005-08-15 08:33:50">
<type id="11">
note</type>
<author id="27571">
ColonelPanic</author>
<data>
<field name="doctext">
Another huge debugging benefit of CGI is CGI::Carp
&lt;code&gt;
use CGI::Carp qw(fatalsToBrowser);
&lt;/code&gt;
This is invaluable for figuring out a CGI problem.  Not only do you see errors, but you can easily insert your own die(); statements to see what's going on, instead of printing your own header and HTML in several lines.


</field>
<field name="root_node">
51012</field>
<field name="parent_node">
51012</field>
</data>
</node>
