<font face="courier new,monospace">I have a mysteriously disappearing hash...<br><br>If I look at it (in advance) it contains stuff,<br>but if I just 'use' it, then its empty... Schrodinger's ghost?<br><br><br>
I have the following fragment:<br><br> ...<br> #print "varbindTable num keys: ", scalar keys %varbindTable, "\n";<br> while (($index, $object) = each %varbindTable) {<br> ... do loopy stuff ...<br>
}<br><br>If I enable the print statement and run my code, the hash 'contains stuff'.<br>but if I comment it out, the while loop is skipped.<br><br>Huh?<br><br>(Of course there is a ton more code around this fragment<br>
and 'no', I don't have a minimal repeatable example.)<br><br>Has anyone seen such a behavior?<br><br>TIA<br>Fulko<br><br></font>