Bubblegum::Wrapper::Dumper - Bubblegum Wrapper around Data Dumping
version 0.25
use Bubblegum; my $data = {1..3,{4,{5,6,7,{8,9,10,11}}}}; my $string = $data->dumper->encode; my $hashref = $string->dumper->decode;
Bubblegum::Wrapper::Dumper is a Bubblegum wrapper which provides the ability to endcode/decode Perl data structures. It is not necessary to use this module as it is loaded automatically by the Bubblegum class.
The decode method deserializes the stringified Perl data structure using the Data::Dumper module.
The encode method serializes the Perl data structure using the Data::Dumper module with the following options; Indent=0, Sortkeys=1, and Terse=1.
Al Newkirk <anewkirk@ana.io>
This software is copyright (c) 2013 by Al Newkirk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Bubblegum, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bubblegum
CPAN shell
perl -MCPAN -e shell install Bubblegum
For more information on module installation, please visit the detailed CPAN module installation guide.