It's much clearer now, thanks :)
I get warnings with hash references and I've used code such as to get around the problem:
$some_href->{id} ||= 0;
Is that a good style? If not, what are the alternatives?
In reply to Re^2: What is the difference between |= and ||=?
by Anonymous Monk
in thread What is the difference between |= and ||=?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |