Changes for version 0.19

  • ~~ More documentation updates ~~
  • Moose::Util::TypeConstraints
    • 'type' now supports messages as well thanks to phaylon for finding this
      • added tests for this
    • added &list_all_type_constraints and &list_all_builtin_type_constraints functions to facilitate introspection.
  • Moose::Meta::Attribute
    • fixed regexp 'handles' declarations to build the list of delegated methods correctly (and not override important things like &new) thanks to ashleyb for finding this
      • added tests and docs for this
    • added the 'documentation' attributes so that you can actually document your attributes and inspect them through the meta-object.
      • added tests and docs for this
  • Moose::Meta::Class
    • when loading custom attribute metaclasses it will first look in for the class in the Moose::Meta::Attribute::Custom::$name, and then default to just loading $name.
      • added tests and docs for this
  • Moose::Meta::TypeConstraint
    • type constraints now stringify to their names.
      • added test for this
  • misc.
    • added tests to assure we work with Module::Refresh
    • added stricter test skip logic in the Moose POOP test, ask Rob Kinyon why.
      • *cough* DBM::Deep 1.0 backwards compatability sucks *cough* ;)

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
Method Meta Object for constructors
Method Meta Object for destructors
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