If that matters to someone, they might consider something like:
++( $outhash{$str} ||= 0 );
- tye
In reply to Re^2: Refactoring: dumb or witty use of ternary operator? (1 not 3 copies)
by tye
in thread Refactoring: dumb or witty use of ternary operator?
by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |