|
|
| "be consistent" | |
| PerlMonks |
Re: Shortcut operator for $a->{'b'}=$b if $b;by Roy Johnson (Monsignor) |
| on Sep 20, 2005 at 16:46 UTC ( #493514=note: print w/ replies, xml ) | Need Help?? |
|
Something like might abort the assignment if $b is not true. I can't test it at the moment. Another idea that occurs to me is which expresses pretty directly what you said in your last sentence. Caution: Contents may have been coded under pressure.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||