++ed by:
PERLOVER RBO PLICEASE SZABGAB JHK
147 non-PAUSE users
Author image Karen Etheridge 🐾 🌋🦑🇹🇼🇭🇰
and 108 contributors

Changes for version 2.1100-TRIAL (TRIAL RELEASE)

  • DEPRECATIONS
    • Class::MOP::load_class, Class::MOP::is_class_loaded, and Class::MOP::load_first_existing_class are now deprecated. See Moose::Manual::Delta for details.
    • The non-arrayref forms of enum and duck_type have been deprecated. See Moose::Manual::Delta for details.
    • Many deprecated features have now been removed:
      • optimize_as for type constraints
      • the "default is" and "default default" features for native delegations
      • setting coerce => 1 on an attribute whose type constraint has no coercion
      • the public version of Moose::Meta::Method::Destructor::initialize_body
  • ENHANCEMENTS
    • Creating classes with Moose now always sets the appropriate entry in %INC, even if it wasn't loaded from a file. This should make writing classes inline easier, and will allow us to be more intelligent about figuring out when classes are loaded in the future. See Moose::Manual::Delta for more details. Note that this is slightly backwards-incompatible in some edge cases.
    • Moose now uses Module::Runtime instead of Class::Load to load classes. This means that there are no more issues with the weird heuristics that Class::Load does to determine if a class was previously loaded (inheriting from an empty package is now possible, for instance). See Moose::Manual::Delta for more details. This is also slightly backwards-incompatible in some edge cases.

Documentation

How to cook a Moose
Demonstrates the use of method modifiers in a subclass
Demonstrates various attribute features including lazy, predicates, weak refs, and more
Demonstrates the use of subtypes and how to model classes related to companies, people, employees, etc.
The augment modifier, which turns normal method overriding "inside-out"
Operator overloading, subtypes, and coercion
Demonstrates subtypes and coercion use HTTP-related classes (Request, Protocol, etc.)
Making Moose fast by making your class immutable
Using BUILDARGS and BUILD to hook into object construction
Point and Point3D classes, showing basic attributes and subclassing.
Providing a role for the base object class
Acting like Moose.pm and providing sugar Moose-style
Providing an alternate base object class
A meta-attribute, attributes with labels
Adding a "table" attribute to the metaclass
Creating a glob reference meta-instance class
Labels implemented via attribute traits
A method metaclass for marking methods public or private
Adding a "table" attribute as a metaclass trait
Welcome to the meta world (Why Go Meta?)
Applying a role to an object instance
Advanced Role Composition - method exclusion and aliasing
Restricted "keywords" in Moose
Snippets of code for using Types and Type Constraints
Expanded into Moose::Manual::BestPractices, so go read that
Expanded into Moose::Manual, so go read that
What is Moose, and how do I use it?
Object attributes with Moose
Get the most out of Moose
Making your classes use Moose (and subclassing)
Moose OO concepts
Object construction (and destruction) with Moose
How to get involved in Moose
Attribute delegation
Important Changes in Moose
Frequently asked questions about Moose
The Moose (and Class::MOP) meta API
Moose's method modifiers
Recommended Moose extensions
Roles, an alternative to deep hierarchies and base classes
Policies regarding support, releases, and compatibility.
Moose's type system
Moose idioms in plain old Perl 5 without the sugar
Formal spec for Role behavior
Moved to Moose::Manual::Unsweetened, so go read that

Modules

A Meta Object Protocol for Perl 5
Attribute Meta Object
Class Meta Object
Implements immutability for metaclass objects
Manages deprecation warnings for Class::MOP
Instance Meta Object
Method Meta Object
Method Meta Object for accessors
Method Meta Object for constructors
Abstract base class for generated methods
Method base class for methods which have been inlined
Method Meta Object for meta methods
Method Meta Object for methods which implement overloading
Method Meta Object for methods with before/after/around modifiers
Extremely limited trait application
Base class for mixin classes
Core attributes shared by attribute metaclasses
Methods for metaclasses which have attributes
Methods for metaclasses which have methods
Module Meta Object
Base class for metaclasses
Package Meta Object
A postmodern object system for Perl 5
Provide information on conflicts for Moose
Manages deprecation warnings for Moose
Prefer confess
Prefer croak
Carp based error generation for Moose.
make an import() and unimport() just like Moose.pm
The Moose attribute metaclass
Delegate to native Perl types
Shared role for native delegation traits
Helper trait for ArrayRef attributes
Helper trait for Bool attributes
Helper trait for CodeRef attributes
Helper trait for Int attributes which represent counters
Helper trait for HashRef attributes
Helper trait for Num attributes
Helper trait for Str attributes
The Moose metaclass
Implements immutability for metaclass objects
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
A Moose Method metaclass for delegation methods
Method Meta Object for destructors
A Moose Method metaclass for meta methods
A Moose Method metaclass for overridden methods
Core attributes shared by attribute metaclasses
Some overrides for Class::MOP::Object functionality
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
The Moose attribute metaclass for Roles
An object to represent the set of roles
A Moose Method metaclass for Roles
A Moose metaclass for conflicting methods in 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 duck typing
Type constraint for enumerated values.
Type constraints which can take a parameter (ArrayRef)
Type constraints with a bound parameter (ArrayRef[Int])
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
Apply roles to any metaclass, as well as the object base class
Type constraint system for Moose
Test functions for Moose specific features
a pragma for installing and using Class::MOP metaclasses
syntactic sugar to make Moose one-liners easier

Provides

in lib/Moose/Meta/Attribute.pm