cpan Moose 2.0205

latest releases: 2.2207, 2.2206, 2.2205...
12 years ago

[NEW FEATURES]

  • The Array and Hash native traits now provide a "shallow_clone" method,
    which will return a reference to a new container with the same contents as
    the attribute's reference.

[ENHANCEMENTS]

  • Specifying an invalid value in a hashref 'handles' value now throws a
    sensible error. Reported by Mark-Jason Dominus. RT #69990. (Dave
    Rolsky)

[BUG FIXES]

  • When specifying an attribute trait, passing options for the trait besides
    -alias or -excludes caused a warning. However, passing other options is
    totally valid when using MooseX::Role::Parameterized. Fixes RT
    #70419. (sartak)

  • Allow regexp objects in duck_type constraints (to bring this in line with
    the Object constraint).

Don't miss a new Moose release

NewReleases is sending notifications on new releases.