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

Changes for version 0.16

  • NOTE ++ There are some speed improvements in this release, but they are only the begining, so stay tuned.
  • Moose::Object
    • BUILDALL and DEMOLISHALL no longer get called unless they actually need to be. This gave us a signifigant speed boost for the cases when there is no BUILD or DEMOLISH method present.
  • Moose::Util::TypeConstraints
  • Moose::Meta::TypeConstraint
    • added an 'optimize_as' option to the type constraint, which allows for a hand optimized version of the type constraint to be used when possible.
    • Any internally created type constraints now provide an optimized version as well.

Documentation

How to cook a Moose
Frequenty asked questions about 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
The Moose::Role example
For when things go wrong with Moose

Modules

A complete modern object system for Perl 5
The Moose attribute metaclass
The Moose metaclass
The Moose Instance metaclass
A Moose Method metaclass
A Moose Method metaclass for accessors
A Moose Method metaclass for overriden methods
The Moose Role metaclass
A Moose Method metaclass for Roles
The Moose Type Coercion metaclass
The Moose Type Constraint metaclass
A union of Moose type constraints
The base object for Moose
The Moose Role
Type constraint system for Moose