logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Yuval Kogman <nothingmuch@woobling.org>

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.

Name

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

Synopsis

           package MyBackend;

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

Version

       version 0.57

See Also