Jesse Luehrs > KiokuDB-0.52 > KiokuDB::Backend::Serialize::Storable

Download:
KiokuDB-0.52.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  3
View/Report Bugs
Source  

NAME ^

KiokuDB::Backend::Serialize::Storable - Storable based serialization of KiokuDB::Entry objects.

SYNOPSIS ^

    package MyBackend;

    with qw(KiokuDB::Backend::Serialize::Storable;

DESCRIPTION ^

This role provides Storable based serialization of KiokuDB::Entry objects for a backend, with streaming capabilities.

KiokuDB::Backend::Serialize::Delegate is preferred to using this directly.

METHODS ^

serialize $entry

Uses "nstore" in Storable

deserialize $blob

Uses "thaw" in Storable

serialize_to_stream $fh, $entry

Uses "nstore_fd" in Storable.

deserialize_from_stream $fh

Uses "fd_retrieve" in Storable.

syntax highlighting: