debian man page for kiokudb::backend::serialize

Query: kiokudb::backend::serialize

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KiokuDB::Backend::Serialize(3pm)			User Contributed Perl Documentation			  KiokuDB::Backend::Serialize(3pm)

NAME
KiokuDB::Backend::Serialize - Serialization role for backends
SYNOPSIS
package KiokuDB::Backend::Serialize::Foo; use Moose::Role; use Foo; use namespace::clean -except => 'meta'; with qw(KiokuDB::Backend::Serialize); sub serialize { my ( $self, $entry ) = @_; Foo::serialize($entry) } sub deserialize { my ( $self, $blob ) = @_; Foo::deserialize($blob); }
DESCRIPTION
This role provides provides a consistent way to use serialization modules to handle backend serialization. See KiokuDB::Backend::Serialize::Storable, KiokuDB::Backend::Serialize::YAML and KiokuDB::Backend::Serialize::JSON for examples.
REQUIRED METHODS
serializate $entry Takes a KiokuDB::Entry as an argument. Should return a value suitable for storage by the backend. deserialize $blob Takes whatever "serializate" returned and should inflate and return a KiokuDB::Entry. perl v5.12.4 2010-12-19 KiokuDB::Backend::Serialize(3pm)
Related Man Pages
dbix::class::schema::kiokudb(3pm) - debian
kiokudb::collapser(3pm) - debian
kiokudb::typemap::composite(3pm) - debian
kiokudb::typemap::entry::callback(3pm) - debian
kiokudb::typemap::entry::compiled(3pm) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Detecting unused variables...
One instance of comparing grep and awk
New UNIX and Linux History Sections