SPUG: Data::Denter
David Vergin
dvergin at igc.org
Fri Apr 27 11:48:13 CDT 2001
Brian-
Data::Denter looks promising. If only we knew someone who could see that this
gets into the PPM library sometime soon... ;-)
david
> -----Original Message-----
> From: owner-spug-list at pm.org [mailto:owner-spug-list at pm.org]On Behalf Of
> Brian Ingerson
> Sent: Thursday, April 26, 2001 11:56 PM
> To: spug-list at pm.org
> Subject: SPUG: Data::Denter
>
>
> SPUG,
>
> Well I just wanted to say that I'm no longer a one module wonder :)
>
> Data::Denter has been uploaded to CPAN. Think "Data::Dumper meets
> Python". It's actually quite useful. Check it out.
>
> From the README:
>
> Data::Denter - An alternative to Data::Dumper and Storable.
>
> INTRODUCTION:
>
> Data::Denter is yet another Perl data serializer/deserializer. It
> formats nested data structures in an indented fashion. It is optimized
> for human readability/editability, safe deserialization, and
> (eventually) speed.
>
> NOTE: It may be optimized for Python programmers too, but please don't
> hold that against me ;)
>
> It exports 2 functions: C<Indent()> and C<Undent()> for serialization
> and deserialization respectively. It handles all of the commonly
> serializable Perl data types, including: scalars, hash refs, array refs,
> scalar refs, ref refs, undef, and blessed references. It can even
> properly handle circular and duplicate references.
>
> SAMPLE:
>
> use Data::Denter;
> print Indent bless {foo => 42,
> bar => [ 'happy', undef, [], 'sad' ],
> baz => "Bozo the Clown",
> }, "Small::Example";
>
> yields:
>
> %Small::Example
> baz => Bozo the Clown
> bar => @
> happy
> ?
> @
> sad
> foo => 42
>
> INFORMATION:
>
> For more information on Data::Denter, see 'perldoc Data::Denter'.
>
> Please send questions and comments to "Brian Ingerson" <INGY at cpan.org>
>
> Copyright (c) 2001, Brian Ingerson. All Rights Reserved.
>
>
> Cheers, Brian
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
> Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
> Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
> For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
> Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
>
>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
More information about the spug-list
mailing list