Thanks Rob, that's essentially the sort of thing I currently need to do, but it requires knowing the exact structure to be dumped and walking it myself. I also want to distinguish between GMP objects and simple integers - particularly to spot when something that should be GMP is not or v.v. - so I'd end up needing to write most of Data::Dumper myself. I had hoped somebody would already have done that for me (and that someone here would have used it).
My CPAN-fu is minimal, but of the 2,520 matches on metacpan for 'dump', a quick scan of the first 100 threw up some maybes such as Data::Printer (which cares mostly about coloured output) and Data::Dump::Streamer (which cares mostly about structure recreatability via eval). I also spotted a cross-reference to Data::Rmap, which might offer a sane way to roll my own. I'll try some of those and see what I get.
In reply to Re^4: Dumping opaque objects
by hv
in thread Dumping opaque objects
by hv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |