No such thing as a small change | |
PerlMonks |
Re: Refactoring: dumb or witty use of ternary operator?by Abigail-II (Bishop) |
on Jun 22, 2004 at 10:10 UTC ( [id://368657]=note: print w/replies, xml ) | Need Help?? |
I think the only possible side effects here would be if %outhash or $outhash {$str} is tied, or if $outhash {$str} is an object with an overloaded ++ operator. Or if the program has overloaded integers (for instance, if use Math::BigInt ':constant' is in use).
Abigail
In Section
Seekers of Perl Wisdom
|
|