XP is just a number | |
PerlMonks |
Re: Optimization, side-effects and wrong codeby benizi (Hermit) |
on Oct 01, 2004 at 18:59 UTC ( [id://395704]=note: print w/replies, xml ) | Need Help?? |
Your code creates an infinite loop, though, if $self->{$k}->{blahblah} never evaluates to true. (whereas the OP's falls through to "return undef;")
In Section
Meditations
|
|