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

Changes for version 0.03

  • Moose::Cookbook
    • added the Moose::Cookbook with 5 recipes, describing all the stuff Moose can do.
  • Moose
    • fixed an issue with &extends super class loading it now captures errors and deals with inline packages correctly (bug found by mst, solution stolen from alias)
    • added super/override & inner/augment features
      • added tests and docs for these
  • Moose::Object
    • BUILDALL now takes a reference of the %params that are passed to &new, and passes that to each BUILD as well.
  • Moose::Util::TypeConstraints
    • Type constraints now survive runtime reloading
      • added test for this
      • Moose::Meta::Class
        • fixed the way attribute defaults are handled during instance construction (bug found by chansen)
  • Moose::Meta::Attribute
    • read-only attributes now actually enforce their read-only-ness (this corrected in Class::MOP as well)

Documentation

How to cook a Moose
The (always classic) Point example.
A simple BankAccount example
A lazy BinaryTree example
Subtypes, and modeling a simple Company class hierarchy
More subtypes, coercion in a Request class

Modules

Moose, it's the new Camel
The Moose attribute metaclass
The Moose metaclass
The Moose Type Coercion metaclass
The Moose Type Constraint metaclass
The base object for Moose
Type constraint system for Moose