Changes for version 20121025.2315_001 - 2012-10-25

  • New Features
  • can now use `when' to specify default conditions
  • can use `//=' as a shortcut for `when undef'
  • can now provide `where' constraints in addition to (or instead of) a type
  • can now use `...' to disable further argument checking
  • can now specify more than one alternative in type unions
  • can now nest parameterized types
  • Incompatible Changes
  • can no longer use both `\' and `:' (didn't work anyway)
  • Optimizations
  • better signature parsing using PPI
  • Docs
  • documented all new features
  • new ASCI-art breakdown of signature syntax
  • minor tweaks and corrections

Modules

method and function declarations with signatures and no source filter
use Method::Signatures from within MooseX::Declare

Provides

in lib/Method/Signatures/Parser.pm