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

Changes for version 2.000003 - 2017-03-31

  • fix a bug where method modifiers would inadvertently declare subs (e.g. 'before foo() {}' acting like 'sub foo; BEGIN { &before('foo', sub {}) }'), breaking Pkg->can($method) and thus Class::Method::Modifiers (RT #120804)
  • make method modifiers take effect at runtime because otherwise you'd have to wrap every with()/extends() in a BEGIN block to make consumed/inherited methods visible to modifiers (RT #120804)
  • make method modifiers require a name (what would an anonymous modifier modify?)
  • (hopefully) improve the error message you get for trying to add any parameters after a slurpy

Modules

define functions and methods with parameter lists ("subroutine signatures")
Information about parameter lists

Provides

in lib/Function/Parameters/Info.pm