NAME

Memcached::Client::Serializer - Abstract Base Class For Memcached::Client Serializer

VERSION

version 2.01

SYNOPSIS

  package NewSerializer;
  use strict;
  use base qw{Memcached::Client::Serializer};

METHODS

new

new() builds a new object. It takes no parameters.

deserialize()

deserialize() will do its best to uncompress and/or deserialize the data that has been returned.

serialize()

serialize() will serialize the data it is given (if it's a reference), and if the data is large enough and the savings significant enough (and the compression code is loadable), it will compress it as well.

AUTHOR

Michael Alan Dorman <mdorman@ironicdesign.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Michael Alan Dorman.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.