in reply to Re^4: How do you find keys of a Blessed Hash?
in thread How do you find keys of a Blessed Hash?
keys $blessed doesn't work for a very good reason. keys can (in recent versions of Perl) be used with either arrays or hashes. A blessed object can (thanks to overload) be simultaneously dereferencable as a hash and and array. So for blessed objects, you need to manually dereference.
|
|---|