<?xml version="1.0" encoding="windows-1252"?>
<node id="476135" title="Re^3: How to close all open file descriptors after a fork?" created="2005-07-19 10:50:18" updated="2005-07-22 18:17:57">
<type id="11">
note</type>
<author id="409850">
blazar</author>
<data>
<field name="doctext">
&lt;BLOCKQUOTE&gt;&lt;I&gt;No they won't. Your array will still hold a copy and they all will be kept open.&lt;/I&gt;&lt;/BLOCKQUOTE&gt;

I meant: &lt;EM&gt;"in a general situation"&lt;/EM&gt;. In this particular one I suggested to explicitly close the entries kept in the array. I also included a footnote mentioning the ref thing.

&lt;BLOCKQUOTE&gt;&lt;I&gt;These file handles are references, are they not? You could try weaken these references in the array, and they'll automatically go away as normal — leaving just an undef in place.&lt;/I&gt;&lt;/BLOCKQUOTE&gt;

This is a very interesting suggestion, although I have no experience myself weakening references. I won't try because this is not &lt;EM&gt;my&lt;/EM&gt; problem, but I will keep it in mind for when it may be of some use for me...</field>
<field name="root_node">
476086</field>
<field name="parent_node">
476127</field>
</data>
</node>
