note
rob_au
The <code>BEGIN</code> block is executed prior to the definition of the <code>%guid</code> and as such the hash element <code>$guid{218827}</code> is auto-vivified in this code block. The auto-vivified hash element has an undefined value which you are subsequently attempting to increment.
<p>For details on the behaviour of <code>BEGIN</code> blocks, see the [perlmod] man page under the heading "Package Constructors and Destructors". For an explanation of auto-vivification, see [perlref], [perlfaq4], [perlfunc] and the node [id://35095] by [merlyn].</p>
<p><b>Update:</b> Erk, weirder stuff appearing - It almost looks like something weird is happening with closures ...</p>
<div class="pmsig">
<div class="pmsig-65703">
<p> <p>
<tt><font size="-1">perl -le "print unpack'N', pack'B32', '00000000000000000000001010111111'"</font></tt>
</div></div>
326726
326726