|
|
| Just another Perl shrine | |
| PerlMonks |
Re^2: Optimization, side-effects and wrong codeby bpphillips (Friar) |
| on Oct 01, 2004 at 15:54 UTC ( [id://395729]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
agreed, I've added exists which causes it to work correctly (albeit a bit different test than the OP's). Could maybe even add a check to make sure our while loop doesn't run past scalar(keys %$self) but then we're back to using keys again... :-)
In Section
Meditations
|
|
||||||||||||||||||||||||