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.93

  • Class::MOP
    • The load_class function just returns true, since it's return value was confusing (either a metaclass object or a class name). It either loads a class or dies trying. In the future, this may change to not return anything, since there's no point in checking its return value. Addresses RT #45883. (Dave Rolsky)
  • Class::MOP::Class::Trait::Immutable
    • When throwing an error because of an immutable method, include that method's name. Addresses RT #49680. (Shawn M Moore)
  • Class::MOP::Package
    • Adding the same sub reference to multiple packages failed to update the method map properly. RT #48985. Reported by Paul Mooney. (Dave Rolsky)
    • The get_method_map method is now private (and called as _full_method_map or _method_map). The public version is available as a deprecated method. (Dave Rolsky)

Changes for version 0.92_01

  • Class::MOP::Package
    • Backwards compatibility tweaks to XS for 5.8.1. (Goro Fuji)
  • Class::MOP
    • Make sure XS code handles magical scalars correctly. (Goro Fuji)
  • Class::MOP::Class
    • Documented the immutable_options method, which is useful if you need to make a class mutable temporarily, and then nede to restore immutability. (Dave Rolsky)
  • Many modules
    • Deprecated features have been moved to their own module, Class::MOP::Deprecated, for easier deprecation management. (Goro Fuji)

Modules

A Meta Object Protocol for Perl 5
Attribute Meta Object
Class Meta Object
Implements immutability for metaclass objects
List of deprecated methods
Instance Meta Object
Method Meta Object
Method Meta Object for accessors
Method Meta Object for constructors
Abstract base class for generated methods
Method base class for methods which have been inlined
Method Meta Object for methods with before/after/around modifiers
Module Meta Object
Base class for metaclasses
Package Meta Object
a pragma for installing and using Class::MOP metaclasses