Peter Haworth wrote: > On Wed, 07 Jan 2009 23:13:52 +0000, Lyle wrote: > >> Requirements are pretty simple, just dump out a variable, following down >> the levels of anonymous storage just like Data::Dumper does. But rather >> than creating pretty dumps like:- >> >> ... >> >> Creating nasty looking dumps like:- >> >> ... >> > Neither of which actually matches the first dump, which itself doesn't > match Data::Dumper's. I've attached a quick and dirty module, which just > parses Data::Dumper's output (I can't be arsed to reimplement the shared > reference detection), and produces the correct output for the case above. > It doesn't implement Data::Dumper's full API, though; just a single > scalar argument. >
That looks impressive and certainly puts you in the lead. Care to give us a version with lots of commenting? Lyle _______________________________________________ BristolBathPM mailing list [email protected] http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm
