Scroll to navigation

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

NAME

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

VERSION

version 0.57

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) 2014 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.

2014-03-25 perl v5.18.2