יובל קוג'מן (Yuval Kogman) > KiokuDB > KiokuDB::TypeMap::Entry::MOP

Download:
KiokuDB-0.34.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View Bugs
Report a bug
Source  

NAME ^

KiokuDB::TypeMap::Entry::MOP - A KiokuDB::TypeMap entry for objects with a metaclass.

SYNOPSIS ^

    KiokuDB::TypeMap->new(
        entries => {
            'My::Class' => KiokuDB::TypeMap::Entry::MOP->new(
                intrinsic => 1,
            ),
        },
    );

DESCRIPTION ^

This typemap entry handles collapsing and expanding of Moose based objects.

It supports anonymous classes with runtime roles, the KiokuDB::Role::ID role.

Code for immutable classes is cached and performs several orders of magnitude better, so make use of "make_immutable" in Moose::Meta::Class.

ATTRIBUTES ^

intrinsic

If true the object will be collapsed as part of its parent, without an ID.