in reply to Are "$hash{$_} ||= 1 + keys %hash" and variants well defined or not?

I don't see specifically why it shouldn't. At first look one would assume they would do the same thing, having it otherwise appears to be illogically and prone to cause issues for unsuspecting programmers.
  • Comment on Re: Are "$hash{$_} ||= 1 + keys %hash" and variants well defined or not?

Replies are listed 'Best First'.
Re^2: Are "$hash{$_} ||= 1 + keys %hash" and variants well defined or not?
by demerphq (Chancellor) on Jan 12, 2006 at 21:14 UTC

    I've updated it to show the results I get... You will probably be surprised.

    ---
    $world=~s/war/peace/g