The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.72

  • Class::MOP::Package
    • Pass options to _new, so subclass' attributes can be initialized (Sartak)
  • Class::MOP::Method
    • In the docs, indicate that package_name and name are required when calling ->wrap (Stefan O'Rear)

Changes for version 0.71_02

  • Class::MOP::Immutable
    • Added a new attribute, inlined_constructor, which is true if the constructor was inlined.
  • Class::MOP::Package
    • Make get_all_package_symbols return a hash ref in scalar context and deprecate calling it in list context with a warning. (Florian Ragwitz)
  • MOP.xs
    • Various improvements and refactoring, making things more robust and easier to maintain. (Florian Ragwitz)

Changes for version 0.71_01

  • Class::MOP::Method
    • Add an "execute" method to invoke the body so we can avoid using the coderef overload (Sartak)
  • Class::MOP::Immutable
    • When we memoize methods, get their results lazily to remove some compile-time cost (Sartak)
    • Small speedup from eliminating several method calls (Sartak)
  • Class::MOP::Class
    • Some small internal tweaks to try to reduce the number of times we call get_method_map when bootstrapping the MOP. This might make loading Class::MOP (and Moose) a little faster. (Dave Rolsky)
    • Implemented an optional XS version of get_method_map. Mostly taken from a patch by Goro Fuji (rt.cpan.org #41080), with help form Florian Ragwitz. (Dave Rolsky)
    • Make the behaviour of of get_all_package_symbols (and therefore get_method_map) consistent for stub methods. Report and test by Goro Fuji (rt.cpan.org #41255). (Florian Ragwitz)

Modules

A Meta Object Protocol for Perl 5
Attribute Meta Object
Class Meta Object
A class to transform Class::MOP::Class metaclasses
Instance Meta Object
Method Meta Object
Method Meta Object for accessors
Method Meta Object for constructors
Abstract base class for generated methods
Method Meta Object to handle before/around/after modifiers
Module Meta Object
Object Meta Object
Package Meta Object
a pragma for installing and using Class::MOP metaclasses