NAME

Data::Record::Serialize::Encode::ddump - encoded a record using Data::Dumper

VERSION

version 1.06

SYNOPSIS

use Data::Record::Serialize;

my $s = Data::Record::Serialize->new( encode => 'ddump', ... );

$s->send( \%record );

DESCRIPTION

Data::Record::Serialize::Encode::ddump encodes a record using Data::Dumper. The resultant encoding may be decoded via

@data = eval $buf;

It performs the Data::Record::Serialize::Role::Encode role.

OBJECT ATTRIBUTES

ddump

The Data::Dumper object. It will be constructed if not provided to the constructor.

dd_config

Configuration data for the Data::Dumper object stored in "ddump". Hash keys are the names of Data::Dumper configuration variables, without the preceding Data::Dumper:: prefix. Be careful to ensure that the resultant output is a (comma separated) list of structures which can be eval'ed.

Terse and Trailingcomma are always set.

CLASS METHODS

new

This role adds two named arguments to the constructor, "ddump" and "config", which mirror the added object attributes.

INTERNALS

SUPPORT

Bugs

Please report any bugs or feature requests to bug-data-record-serialize@rt.cpan.org or through the web interface at: https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Record-Serialize

Source

Source is available at

https://gitlab.com/djerius/data-record-serialize

and may be cloned from

https://gitlab.com/djerius/data-record-serialize.git

SEE ALSO

Please see those modules/websites for more information related to this module.

AUTHOR

Diab Jerius <djerius@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007