KiokuDB::TypeMap::Entry::Naive - A typemap entry for "simple" objects
KiokuDB::TypeMap->new( entires => { 'My::Class' => KiokuDB::TypeMap::Entry::Naive->new, }, );
This typemap entry is suitable for plain objects that can be stored by simply walking them recursively.
Most objects fall into this category, but there are notable exceptions:
When being deserialized the pointer value will no longer be valid, causing segfaults.
Since the referent is really a flyweight object with no data, the object will be missing its attributes and a suitable typemap entry is required instead.
This applies to any object interacting with a global state of some sort.
Perl SV level magic is not retained, apart from tied values.
If true the object will be collapsed without an ID as part of its parent.
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.