http://www.perlmonks.org?node_id=997754


in reply to Re^5: How do you find keys of a Blessed Hash?
in thread How do you find keys of a Blessed Hash?

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).