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 ( [id://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.
I think my answer is no.
In Section
Seekers of Perl Wisdom
|
|