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

Changes for version 0.30

  • Moose::Meta::Method::Constructor -builder related bug in inlined constructor. (groditi)
  • Moose::Meta::Method::Accessor
    • genereate unnecessary calls to predicates and refactor code generation for runtime speed (groditi)
  • Moose::Util::TypeConstraints
    • fix ClassName constraint to introspect symbol table (mst)
      • added more tests for this (mst)
    • fixed it so that subtype 'Foo' => as 'HashRef[Int]' ... with work correctly.
      • added tests for this
  • Moose::Cookbook
    • adding the link to Recipie 11 (written by Sartak)
      • adding test for SYNOPSIS code
  • t/
    • New tests for builder bug. Upon instantiation, if an attribute had a builder, no value and was not lazy the builder default was not getting run, oops. (groditi)

Documentation

How to cook a Moose
Frequently asked questions about Moose
The (always classic) Point example.
The meta-attribute 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
The augment/inner example
Snippets of code for using Types and Type Constraints
For when things go wrong with Moose
Formal spec for Role behavior

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
A Moose metaclass for required methods in Roles
The Moose Type Coercion metaclass
The Moose Type Coercion metaclass for Unions
The Moose Type Constraint metaclass
Higher Order type constraints for Moose
A union of Moose type constraints
The base object for Moose
The Moose Role
Utilities for working with Moose classes
Type constraint system for Moose
Test functions for Moose specific features