|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: ||= (poorly documented?)by DrHyde (Prior) |
| on Jul 09, 2012 at 09:55 UTC ( #980682=note: print w/ replies, xml ) | Need Help?? |
|
You're almost right - ||= checks for *truth*, not definedness. Consider the case where $OUTFH{$name} == 0 - that is, it's defined but not true.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||