GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DATA::SERIALIZER::CONFIG::WREST (3)

.ds Aq ’

NAME

Data::Serializer::Config::Wrest - Creates bridge between Data::Serializer and Config::Wrest

CONTENTS

SYNOPSIS



        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);



DESCRIPTION

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.

METHODS

serialize( \%DATA ) For use by Data::Serializer. Serializes the hash reference into a string.
deserialize( $STRING ) For use by Data::Serializer. Deserializes the string into a hash reference.
options() Retrieves the constructor options for Config::Wrest.

CAVEAT

Base data structure to serialize must be a hash reference

SEE ALSO

Data::Serializer, Config::Wrest

VERSION

$Revision: 1.2 $ on $Date: 2005/09/23 10:30:23 $ by $Author: piersk $

AUTHOR

IF&L Software Engineers <cpan _at_ bbc _dot_ co _dot_ uk>

COPYRIGHT

(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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DATA::SERIALIZER::CONFIG::WREST (3) 2006-08-29

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.