On 8/27/07, nitesh kumar <[EMAIL PROTECTED]> wrote:
> Hi All,
> Can anybody suggest me how can I implement my own Data::Dumper(a function
> which work similar to perl Dumper).
>
> Thanks and Regards
> Nitesh
>

Before you implement your own version of Data::Dumper make sure you
really need to.  There are many modules available with similar, but
often better, functionality that might better suit your needs.  A
non-comprehensive list follows

Storable (core perl)
YAML
YAML::Syck (faster implementation of the previous)
Data::Dump
Data::Dump::Streamer (aka DDS)

If you still want to code your own I would suggest reading about each
of those modules in depth.  There are many pitfalls for unwary (such
as cyclic references).

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to