$hash{foo} ||= exists $hash{foo};
versus
$hash{foo} = $hash{foo} || exists $hash{foo};
In reply to Re: Are "$hash{$_} ||= 1 + keys %hash" and variants well defined or not?
by whio
in thread Are "$hash{$_} ||= 1 + keys %hash" and variants well defined or not?
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |