![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re^7: Declaring with my, assigning, and testing in same line (attributes)by choroba (Cardinal) |
on Dec 15, 2015 at 09:44 UTC ( #1150350=note: print w/replies, xml ) | Need Help?? |
this behaviour means that the untie happens almost immediately after the tie, i.e. the potential for possible ugly side effects is practically zero.My benchmarks show attributes are much slower than a (&;@) sub, especially for short lists (many thousand times).
In Section
Seekers of Perl Wisdom
|
|