Planet Moose - December 2013

Happy new year, and welcome to Planet Moose, a brief write up on what's been happening in the world of Moose in the past month, for the benefit of those of you who don't have their eyes permanently glued to the #moose IRC channel, or the MetaCPAN recent uploads page.

If you'd like to contribute some news for next month's issue, you can do so on the wiki.

Perl Advent Calendar

There were a handful of Moose/Moo-related articles in the 2013 Perl Advent Calendar:

Moo 1.004000

Moo 1.4.0 (a.k.a. 1.004000), and 1.4.1, and 1.4.2 have been released, with a variety of interesting changes over the 1.3.x line, including:

  • It now uses Class::XSAccessor to accelerate predicate methods. (As does MooseX::XSAccessor.)
  • strictures is now properly applied to classes and roles using Moo. (This was always documented as happening, but it broke somewhere along the lines and nobody noticed for a while.)
  • Type constraint inflation (i.e. the process where type libraries written for Moo can integrate with the Moose meta object protocol if/when Moose gets loaded) now works in multi-threaded situations.

The type constraint changes in 1.4.0 and 1.4.1 broke current stable releases of Type::Tiny on threaded builds of Perl, but 1.4.2 fixes this. (And Type::Tiny 0.037_03 also includes a fix, and should work OK with Moo 1.4.0 and 1.4.1.)

In other news...

Leave a comment

About Toby Inkster

user-pic I'm tobyink on CPAN, IRC and PerlMonks.