in reply to Re: Refactoring: dumb or witty use of ternary operator?
in thread Refactoring: dumb or witty use of ternary operator?

If that matters to someone, they might consider something like:

++( $outhash{$str} ||= 0 );

- tye        

  • Comment on Re^2: Refactoring: dumb or witty use of ternary operator? (1 not 3 copies)
  • Download Code