יובל קוג'מן (Yuval Kogman) > KiokuDB-0.51 > KiokuDB::Backend::Serialize::Storable

Download:
KiokuDB-0.51.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Source   Latest Release: KiokuDB-0.57

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: