Hi all, attached is an object orientated version of library/dumper.imc. (it needs libraray/objecthacks.imc from yesterday)
I made the following changes: - the third (optional) parameter of _dumper ('indent)' behaves a little bit different. The string is now repeated for each indention level. - Unknown PMC are tested for a '__dumper' method, if it has one it is invoked with the dumper and it's own name (as stored in the cache) as parameters. See dumper.t test 12 for more information. The attached archive contains the following files: - t/pmc/dumper.t.patch small test adjustments - library/dumper.imc a compatibility interface - library/Data/Dumper.imc the Data::Dumper class - library/Data/Dumper/Base.imc base class for Dumper frontends - library/Data/Dumper/Default.imc default Dumper frontend Comments welcome! jens
dumper.tgz
Description: application/tgz