in reply to Re^3: Dumping opaque objects
in thread Dumping opaque objects
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Dumping opaque objects
by syphilis (Archbishop) on Jan 25, 2022 at 10:47 UTC | |
by hv (Prior) on Jan 25, 2022 at 13:58 UTC |