use Devel::Peek; Dump $obj; [download]
In reply to Re: Using hv_magic() in typemap to create a tied object by ysth in thread Using hv_magic() in typemap to create a tied object by rsteinke