|
|
| There's more than one way to do things | |
| PerlMonks |
Re^2: Shortcut operator for $a->{'b'}=$b if $b;by rokadave (Sexton) |
| on Sep 20, 2005 at 16:40 UTC ( #493510=note: print w/ replies, xml ) | Need Help?? |
|
No correlation at all. This all started when I discovered the
||= operator, which test the assignee for truth, upon false assigns the assignor. I wanted to test the other side, and assign upon false.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||