note
olus
<p>
<code>m/^\n/</code> is a regular expression that tries to match a newline (<code>\n</code>) at the beggining of the line (<code>^</code>). If there is such a match on the current value of <code>$_</code>, the code jumps back to the condition on the <code>while</code> loop, in this case reads one more line from the file.
</p>
<p>
So, this code is skipping blank lines on the file.</p>
<b>update</b> as [Marshall] correctly points, the code skips lines that start with the <code>\n</code> disregarding whatever comes next.
786040
786040