NAME

KiokuDB::Backend::Serialize::Delegate - Use a KiokuDB::Serializer object instead of a role to handle serialization in a backend.

VERSION

version 0.57

SYNOPSIS

package MyBackend;
use Moose;

with qw(
    ...
    KiokuDB::Backend::Serialize::Delegate
);



MyBackend->new(
    serializer => "yaml",
);

DESCRIPTION

This role provides a serialzier attribute (by default KiokuDB::Serializer::Storable) with coercions from a moniker string for easy serialization format selection.

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.