Changes for version 0.55

  • Moose::Meta::Attribute
    • breaking down the way 'handles' methods are created so that the process can be more easily overridden by subclasses (stevan)
  • Moose::Meta::TypeConstraint
    • fixing what is passed into a ->message with the type constraints (RT #37569)
      • added tests for this (Charles Alderman)
  • Moose::Util::TypeConstraints
    • fix coerce to accept anon types like subtype can (mst)
  • Moose::Cookbook
    • reorganized the recipes into sections - Basics, Roles, Meta, Extending - and wrote abstracts for each section (Dave Rolsky)
  • Moose::Cookbook::Basics::Recipe10
    • A new recipe that demonstrates operator overloading in combination with Moose. (bluefeet)
  • Moose::Cookbook::Meta::Recipe1
    • an introduction to what meta is and why you'd want to make your own metaclass extensions (Dave Rolsky)
  • Moose::Cookbook::Meta::Recipe4
    • a very simple metaclass example (Dave Rolsky)
  • Moose::Cookbook::Extending::Recipe1
    • how to write a Moose-alike module to use your own object base class (Dave Rolsky)
  • Moose::Cookbook::Extending::Recipe2
    • how to write modules with an API just like C<Moose.pm> (Dave Rolsky)
  • all documentation
    • Tons of fixes, both syntactical and grammatical (Dave Rolsky, Paul Fenwick)

Documentation

How to cook a Moose
The (always classic) Point example.
Operator overloading, subtypes, and coercion
A simple BankAccount example
A lazy BinaryTree example
Subtypes, and modeling a simple Company class hierarchy
More subtypes, coercion in a Request class
The augment/inner example
Making Moose fast with immutable
Builder methods and lazy_build
Providing an alternate base object class
Acting like Moose.pm and providing sugar Moose-style
Frequently asked questions about Moose
Welcome to the meta world (Why Go Meta?)
A meta-attribute, attributes with labels
Labels implemented via attribute traits
Adding a "table" attribute to the metaclass
The Moose::Role example
Advanced Role Composition - method exclusion and aliasing
Restricted keywords in Moose
Snippets of code for using Types and Type Constraints
The latest in trendy Moose cuisine
For when things go wrong with Moose
Formal spec for Role behavior

Modules

A postmodern 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 augmented methods
Method Meta Object for constructors
Method Meta Object for destructors
A Moose Method metaclass for overriden methods
The Moose Role metaclass
A base class for role application
Compose a role into a class
Compose a role into an instance
Compose a role into another role
An object to represent the set of roles
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
Class/TypeConstraint parallel hierarchy
Type constraint for enumerated values.
Higher Order type constraints for Moose
Higher Order type constraints for Moose
registry for type constraints
Role/TypeConstraint parallel hierarchy
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
Optimized constraint bodies for various moose types
Test functions for Moose specific features
syntactic sugar to make Moose one-liners easier

Provides

in lib/Moose/Meta/Attribute.pm