in reply to RFC: Data::Dumper::Lite

If you intend for this module to be a fully fledged data dumper then you'll want to make sure it can pass the whole Data::Dumper test suite successfully, and once that's done try the test suite from demerphq's Data::BFDump which have far more pathological test cases. Also for quoting strings you might want to check out another of demerphq's modules, Text::Quote, which will provide you with the correct quoting delimiters.

While I'm all for the learning process what does D::D::L offer that other dumper modules on CPAN do not e.g Data::Dump is a relatively lightweight dumper written written in pure perl ?
HTH

_________
broquaint

Replies are listed 'Best First'.
Re: Re: RFC: Data::Dumper::Lite
by Mr. Muskrat (Canon) on May 27, 2003 at 18:38 UTC

    broquaint, I wish that I could ++ this node several times. It didn't even occur to me to use Data::Dumper's test suite! I'll definately do that. If I don't try it, I will at least look at Data::BFDump's test suite.

    I'm trying to keep the footprint for this module as small as possible. That is the reason why I decided to roll my own quoting mechanism in this instance.

    what does D::D::L offer that other dumper modules on CPAN do not e.g Data::Dump is a relatively lightweight dumper written written in pure perl ?
    Like Data::Dump (which is not listed with the other Data:: modules on CPAN), I am trying to mimic Data::Dumper's functionality without the added complexity of options. Would I call D::D::L a full-fledged pretty-printer (like Data::Dumper is)? No, it is a 'lightweight, object-oriented perl data structure stringifier'. ;-) Hey, I'll have to add that to the name section of the POD (once it has POD)!