---
name: "KiokuDB::Backend::Serialize::Storable"
section: "3pm"
platform: "linux"
package: "libkiokudb-perl"
version: "0.57-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/KiokuDB::Backend::Serialize::Storable"
---

# KiokuDB::Backend::Serialize::Storable(3pm)

Storable based serialization of KiokuDB::Entry objects.

## 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.
