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

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::Class - KiokuDB specific metaclass

SYNOPSIS ^

    package Foo;
    use KiokuDB::Class; # instead of Moose

    has bar => (
        traits => [qw(KiokuDB::Lazy)],
        ...
    );

DESCRIPTION ^

This Moose wrapper provides some metaclass extensions in order to more tightly integrate your class with KiokuDB.

Currently only KiokuDB::Meta::Attribute::Lazy is set up (by extending Moose::Meta::Instance with a custom role to support it), but in the future indexing, identity, and various optimizations will be supported by this.

syntax highlighting: