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

Download:
KiokuDB-0.56.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.56   Source   Latest Release: KiokuDB-0.57

NAME ^

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

VERSION ^

version 0.56

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.

AUTHOR ^

Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Yuval Kogman, Infinity Interactive.

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

syntax highlighting: