in reply to Reflecting on Object

Apparently, the debugger knows how, with the "m" command. If you don't fear scary code, look in there for how the debugger does it.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.