Data::Serializer::Config::Wrest - Creates bridge between Data::Serializer and Config::Wrest
use Data::Serializer; my $ser = Data::Serializer->new( serializer => 'Config::Wrest', options => { Escapes => 1, UseQuotes => 1, WriteWithEquals => 1, } ); my $serialized = $ser->serialize({ foo => 'bar' }); my $deserialized = $ser->deserialize($serialized);
Module is used internally to Data::Serializer. Use it through the Data::Serializer constructor.
The 'options' hash reference is passed to the Config::Wrest constructor. Please see the documentation for that module for details about the possible options and the defaults.
For use by Data::Serializer. Serializes the hash reference into a string.
For use by Data::Serializer. Deserializes the string into a hash reference.
Retrieves the constructor options for Config::Wrest.
Base data structure to serialize must be a hash reference
Data::Serializer, Config::Wrest
$Revision: 1.2 $ on $Date: 2005/09/23 10:30:23 $ by $Author: piersk $
IF&L Software Engineers <cpan _at_ bbc _dot_ co _dot_ uk>
(c) BBC 2005. This program is free software; you can redistribute it and/or modify it under the GNU GPL.
See the file COPYING in this distribution, or http://www.gnu.org/licenses/gpl.txt
To install Config::Wrest, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::Wrest
CPAN shell
perl -MCPAN -e shell install Config::Wrest
For more information on module installation, please visit the detailed CPAN module installation guide.