KiokuDB::TypeMap::Entry::Passthrough - A typemap entry of objects that will be serialized by the backend.
version 0.57
KiokuDB::TypeMap->new( entires => { 'Value::Object' => KiokuDB::TypeMap::Entry::Naive->new, }, );
This typemap entry delegates the handling of certain objects to the backend.
A prime example is DateTime being handled by KiokuDB::Backend::Serialize::Storable. DateTime has efficient Storable hooks, and does not refer to any domain objects, so it is safe to assume that it can just be passed through for serialization.
If true the object will be just left in place.
If false, the object will get its own ID and entry, and the object will be in the data field of that entry.
data
Yuval Kogman <nothingmuch@woobling.org>
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.
To install KiokuDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KiokuDB
CPAN shell
perl -MCPAN -e shell install KiokuDB
For more information on module installation, please visit the detailed CPAN module installation guide.