The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.27

  • Moose::Meta::Attribute
    • Added support for the new builder option (groditi)
    • Added support for lazy_build option (groditi)
  • Moose::Meta::Method::Accessor
    • Added support for lazy_build option (groditi)
    • Fix inline methods to work with corrected predicate behavior (groditi)
  • Moose::Meta::Method::Constructor
    • Added support for lazy_build option (groditi)
  • t/
    • tests for builder and lazy_build (groditi)
  • fixing some misc. bits in the docs that got mentioned on CPAN Forum & perlmonks
  • Moose::Meta::Role
    • fixed how required methods are handled when they encounter overriden or modified methods from a class (thanks to confound).
      • added tests for this
  • Moose::Util::TypeConstraint
    • fixed the type notation parser so that the | always creates a union and so is no longer a valid type char (thanks to konobi, mugwump and #moose for working this one out.)
      • added more tests for this

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