The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.49

  • !! Class::MOP now loads ~45% faster !! !! with XS speedups (thanks konobi) !!
  • Class::MOP
    • removed the dependency on B
    • added two XS functions (thanks konobi)
      • get_code_info($code) which replaces all the B fiddling we were doing with faster/leaner XS level fiddling
      • check_package_cache_flag($pkg_name) which returns the PL_sub_generation variable to be used to help manage method caching.
        • NOTE: In 5.10 or greater this will actually use the mro::get_pkg_gen instead to give even more accurate caching information. blblack++ for that stuff :)
  • Class::MOP::Class
    • added the &subclasses method (thanks rlb)
    • added the update_package_cache_flag and reset_package_cache_flag which help keep track of when we need to re-fetch the method map.
    • Several small improvements to take advantage of the new method map caching features

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