<?xml version="1.0" encoding="windows-1252"?>
<node id="786056" title="Re^3: About a piece of code" created="2009-08-05 07:14:33" updated="2009-08-05 07:14:33">
<type id="11">
note</type>
<author id="522408">
olus</author>
<data>
<field name="doctext">
&lt;p&gt;Take a look at &lt;a href="http://perldoc.perl.org/perlre.html"&gt;Perl regular expressions&lt;/a&gt;. There you'll find the information you need to get you started on regexps.
&lt;/p&gt;
&lt;p&gt;So, you have a regexp in that piece of code, and the &lt;code&gt;and next;&lt;/code&gt; part is saying that, if the line that was read matches that condition, then you don't want to execute the rest of the code inside the while statement, you want to read a new line from input, meaning that the next code to be executed is &lt;code&gt;while (&lt;input&gt;)&lt;/code&gt;. That is to say, you go for another cycle of the while loop.
&lt;/p&gt;</field>
<field name="root_node">
786040</field>
<field name="parent_node">
786047</field>
</data>
</node>
