$tests->{$stype} ||= {}; is short for $tests->{$stype} = $tests->{$stype} || {}; which says that if $tests->{$stype} is true keep the same value but if it is false then assign the value {} to it.
In reply to Re: What the heck does "tests->{$stype} ||= {};" do?
by jwkrahn
in thread What the heck does "tests->{$stype} ||= {};" do?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |