<?xml version="1.0" encoding="windows-1252"?>
<node id="484332" title="Re^2: A refactoring trap" created="2005-08-17 03:53:38" updated="2005-08-16 23:53:38">
<type id="11">
note</type>
<author id="323994">
Caron</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;i&gt;The second while however, will stop as soon as it finds an empty line&lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;Just to test your assertion:&lt;/p&gt;
&lt;code&gt;
while (my $line = &lt;DATA&gt;) {print $line}; 
__DATA__
one

two
three

four
&lt;/code&gt;
&lt;p&gt;results in&lt;/p&gt;
&lt;pre&gt;
one

two
three

four

&lt;/pre&gt;
&lt;p&gt;It seems that empty lines don't break the loop at all.&lt;/p&gt;</field>
<field name="root_node">
484238</field>
<field name="parent_node">
484330</field>
</data>
</node>
