Changes for version 0.25

  • Class::MOP::Class
    • added create_anon_class for creating anonymous classes
      • added tests for this
    • added get_all_metaclasses, get_all_metaclass_names and get_all_metaclass_instances method to allow access to all the cached metaclass objects.
    • attribute slot initialization is now the responsibility of the attribute itself, and construct_instance now delegates appropriately
  • Class::MOP::Attribute
    • attribute slot initialization is now the responsibility of the attribute itself, so we added a method for it called initialize_instance_slot
  • examples/
    • adjusted all the examples to use the new attribute initialize_instance_slot method

Modules

A Meta Object Protocol for Perl 5
Attribute Meta Object
Class Meta Object
Method Meta Object
a pragma for installing and using Class::MOP metaclasses

Provides

in lib/Class/MOP/Attribute.pm
in lib/Class/MOP/Method.pm