יובל קוג'מן (Yuval Kogman) > KiokuDB-0.51 > KiokuDB::Backend::Serialize::Delegate

Download:
KiokuDB-0.51.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Source   Latest Release: KiokuDB-0.57

NAME ^

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

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.

syntax highlighting: