<?xml version="1.0" encoding="windows-1252"?>
<node id="518232" title="Re^2: Spot the bug" created="2005-12-20 23:26:48" updated="2005-12-20 18:26:48">
<type id="11">
note</type>
<author id="439528">
tlm</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;em&gt;&lt;p&gt;
By "bug", I presume you mean "bug in your code". The "exiting from the middle of an each-loop" has been discussed here before, and the behavior of Perl is as documented.
&lt;/p&gt;&lt;/em&gt;&lt;/blockquote&gt;

&lt;p&gt;Sorry I gave the impression (probably through my choice of title) that I thought this was a bug in Perl.  I did mean a bug in the snippet I presented.  Perl's behavior is, as you say, amply documented.
&lt;/p&gt;

&lt;div class="pmsig"&gt;&lt;div class="pmsig-439528"&gt;
&lt;p&gt;&lt;small&gt;the lowliest monk&lt;/small&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
518216</field>
<field name="parent_node">
518225</field>
</data>
</node>
