| CGI-MxScreen documentation | view source | Contained in the CGI-MxScreen distribution. |
CGI::MxScreen::Serializer::Storable - Storable serialization
# Inherits from CGI::MxScreen::Serializer
require CGI::MxScreen::Serializer::Storable;
my $ser = CGI::MxScreen::Serializer::Storable->make(
-shared => 1,
-compress => 1,
);
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 => flagWhether 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.
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.
Raphael Manfredi <Raphael_Manfredi@pobox.com>
CGI::MxScreen::Serializer(3), Storable(3).
| CGI-MxScreen documentation | view source | Contained in the CGI-MxScreen distribution. |