---Closing information gaps----- Ranga Nathan, Reliance Technololgy >>Live demo at http://any2xml.com/docs/timesheet_demo.shtml<< >>Get free COBOLExplorer at http://goreliance.com/download-products <<
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Daniel Rinehart > Sent: Thursday, September 26, 2002 10:48 PM > To: Ranga Nathan > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [Boston.pm] Win32::OLE data structure > > > > My only recourse at this point is page 36-37 of Advanced Perl > > Programming (Sriram Srinivasan) containing code for pretty printing > > but thaty may also croak on circular refs. > > The example in Advanced Perl _should_ do the job. I say > this because it keeps a separate bookkeeping hash of what it > has already visited. Data::Dumper does something similar but > that code isn't as easily understandable. I'd give Sriram's a > try (be sure to look at page xix to save some typing). Yes it sure checks for 'seen' references just like Data::Dumper claims to do. But even pretty_print get caught in a circular reference. My feeling is that the same COM component has a real and proxy reference as built by Win32::OLE. There is supposed to be a _Unique switch for Win32OLE but this does not work either. So.... > > -- Daniel R. <[EMAIL PROTECTED]> [http://www.neophi.com/] > > _______________________________________________ > Boston-pm mailing list > [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm > _______________________________________________ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm

