<?xml version="1.0" encoding="windows-1252"?>
<node id="538461" title="Re^3: dynamic zcat and grep" created="2006-03-22 05:50:43" updated="2006-03-22 00:50:43">
<type id="11">
note</type>
<author id="401112">
johngg</author>
<data>
<field name="doctext">
You may be able to get a better idea of what is going wrong if you include &lt;code&gt;$!&lt;/code&gt; in your error message. This is the variable in which Perl stores the O/S error message when things like &lt;code&gt;open&lt;/code&gt; fail, e.g.&lt;p&gt;
&lt;code&gt;
$fn = "non_existant_file";
open IN, "&lt;$fn" or die "open: $fn: $!\n";
&lt;/code&gt;&lt;p&gt;
would error with&lt;p&gt;
&lt;code&gt;
open: non_existant_file: no such file or directory
&lt;/code&gt;&lt;p&gt;
Cheers,&lt;p&gt;JohnGG</field>
<field name="root_node">
538316</field>
<field name="parent_node">
538351</field>
</data>
</node>
