table of contents
KiokuDB::TypeMap::Entry(3pm) | User Contributed Perl Documentation | KiokuDB::TypeMap::Entry(3pm) |
NAME¶
KiokuDB::TypeMap::Entry - Role for KiokuDB::TypeMap entries
VERSION¶
version 0.57
SYNOPSIS¶
package KiokuDB::TypeMap::Foo; use Moose; with qw(KiokuDB::TypeMap::Entry); # or just use KiokuDB::TypeMap::Entry::Std sub compile { ... }
DESCRIPTION¶
This is the role consumed by all typemap entries.
REQUIRED METHODS¶
- compile $class
- This method is called by KiokuDB::TypeMap::Resolver for a given class, and
should return a KiokuDB::TypeMap::Entry::Compiled object for collapsing
and expanding the object.
KiokuDB::TypeMap::Entry::Std provides a more concise way of defining typemap entries.
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.
2022-05-23 | perl v5.34.0 |