Changes for version 0.20

  • removed the dependency for Clone since we no longer to deep-cloning by default.
  • Class::MOP::Method
    • added &package_name, &name and &fully_qualified_name methods, some of which were formerly private subs in Class::MOP::Class
  • Class::MOP::Method::Wrapped
    • allows for a method to be wrapped with before, after and around modifiers
      • added tests and docs for this feature
  • Class::MOP::Class
    • improved &get_package_variable
      • &version and &superclasses now use it
    • methods are now blessed into Class::MOP::Method whenever possible
    • added methods to install CLOS-style method modifiers
      • &add_before_method_modifier
      • &add_after_method_modifier
      • &add_around_method_modifier
        • added tests and docs for these
    • added &find_next_method_by_name which finds the equivalent of SUPER::method_name

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