<?xml version="1.0" encoding="windows-1252"?>
<node id="200236" title="Re: Cannot save to file with a CGI scipt" created="2002-09-23 17:42:00" updated="2005-06-03 13:14:16">
<type id="11">
note</type>
<author id="103111">
George_Sherston</author>
<data>
<field name="doctext">
I think [valdez] is likely to be right - unless it's something even simpler, like the filepath you specified is wrong or incomplete.   My only suggestion is that if you are looking in the error log for your error messages, then you could save yourself some trouble by putting
&lt;code&gt;
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
print $cgi-&gt;header;
warningsToBrowser(1);
&lt;/code&gt;
near the top of your code during development - it'll chuck your fatal errors (and your warnings if you put &lt;code&gt; -w&lt;/code&gt; at the end of your shebang line) onto the browser where you can see 'em in real time.

&lt;br&gt;&lt;br&gt;§ &lt;A HREF="http://www.sprogress.com"&gt;George Sherston&lt;/A&gt;</field>
<field name="root_node">
200130</field>
<field name="parent_node">
200130</field>
</data>
</node>
