|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re^6: How do you find keys of a Blessed Hash?by james2vegas (Hermit) |
| on Oct 08, 2012 at 07:16 UTC ( #997754=note: print w/ replies, xml ) | Need Help?? |
|
Sure, those work fine, but aren't really new work, just syntactic sugar over $x = defined($x) ? $x : $value, a local $\ = "\n" (and print), and a function closed over a variable declared in an outer lexical scope (this is actually superior to the sugar, since you can have multiple functions sharing the same variable).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||