Author image Milan Šorm
and 1 contributors

NAME

Data::CompactDump - Perl extension for dumping xD structures in compact form

VERSION

version 0.04

SYNOPSIS

        use Data::CompactDump qw/compact/;

        my $xd_structure = [ [ 1, 2 ], [ 3, [ 4, 5 ] ] ];
        my $dump = compact( $xd_structure );

DESCRIPTION

Module provides some functions for dumping xD structures (like Data::Dump or Data::Dumper) but in compact form.

FUNCTIONS

compact( xD )

Make eval-compatible form of xD structure for saving and restoring data (compact form)

        my $xd_structure = [ [ 1, 2 ], [ 3, [ 4, 5 ] ] ];
        my $dump = compact($xd_structure);

SEE ALSO

Data::Dump Data::Dumper

AUTHOR

Milan Sorm <sorm@is4u.cz>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Milan Sorm.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.