NAME

CGI::MxScreen::Serializer::Storable - Storable serialization

SYNOPSIS

# Inherits from CGI::MxScreen::Serializer

require CGI::MxScreen::Serializer::Storable;

my $ser = CGI::MxScreen::Serializer::Storable->make(
    -shared     => 1,
    -compress   => 1,
);

DESCRIPTION

This module customizes the serialization interface inherited from CGI::MxScreen::Serializer to use Storable.

Apart from the creation routine documented hereinafter, this class conforms to the interface described in CGI::MxScreen::Serializer.

The creation routine make() takes the following optional arguments:

-compress => flag

Whether to compress the serialized form before returning it. Data will be uncompressed on-the-fly by the deserialize routine. It is false by default.

This makes compression transparent once configured.

-shared => flag

Whether serialized data are expected to be shared across different architectures. When true, Storable will use its portable format to perform the serialization. Otherwise, data can normally be recovered only on a compatible architecture.

It is false by default.

AUTHOR

Raphael Manfredi <Raphael_Manfredi@pobox.com>

SEE ALSO

CGI::MxScreen::Serializer(3), Storable(3).