<?xml version="1.0" encoding="windows-1252"?>
<node id="1018202" title="Re^3: pushing multiple key-value pairs into an existing hash" created="2013-02-11 12:45:22" updated="2013-02-11 12:45:22">
<type id="11">
note</type>
<author id="832495">
choroba</author>
<data>
<field name="doctext">
I do not undestand. __DATA__ is a filehandle. There is no method to add a filehandle's content to a hash. In your example, though, you are using&lt;c&gt;
while (&lt;DATA&gt;) {
&lt;/c&gt;
which seems like iterating over the filehandle line by line. What exactly do you need? Why is adding the pairs one by one or creating a temporary hash not an option?
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-832495"&gt;

&amp;#1604;&amp;#1405;&amp;#4285;† &amp;#6514;&amp;#6482;&amp;#9898;&amp;#10186;&amp;#4281;&amp;#5651;&amp;#5511; &amp;#5045;&amp;#5651;&amp;#5511;&amp;#9137; &amp;#4281;&amp;#6514;&amp;#119243;&amp;#409;&amp;#5651;&amp;#5511;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1018185</field>
<field name="parent_node">
1018197</field>
</data>
</node>
