in reply to Re^2: What the heck does "tests->{$stype} ||= {};" do?
in thread What the heck does "tests->{$stype} ||= {};" do?

That's not equivalent. In your code, $tests->{$stype} is never assigned anything.

But it's probably better. Assigning to $tests->{$stype} was probably a side-effect.

Replies are listed 'Best First'.
Re^4: What the heck does "tests->{$stype} ||= {};" do?
by Bloodnok (Vicar) on Sep 20, 2008 at 13:34 UTC
    Thanx for that ikegami, - as usual you've spotted the deliberate mistake ;-)

    A user level that continues to overstate my experience :-))