Just for the benefit of monks who normally don't check out all the new arrivals on cpan.....this reminds me of a new cool module which does something similar to this, it's callled Tk::Objscanner
It is sort of reminiscent of ptkdb, but it will pop a Tk window with the dump of any object. It has a useful companion module
Tk::ObjEditor.
# user code to produce data
Tk::ObjScanner::scan_object($mydata) ;
# resume user code