From: gfx Date: Fri, 9 Oct 2009 05:38:47 +0000 (+0900) Subject: Add notes for Moose::Cookbook X-Git-Tag: 0.37_05~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7fc043cc981de12e62ece2868f6315292d85eeab;p=gitmo%2FMouse.git Add notes for Moose::Cookbook --- diff --git a/lib/Mouse/Spec.pm b/lib/Mouse/Spec.pm index f9af436..2a2dd7a 100644 --- a/lib/Mouse/Spec.pm +++ b/lib/Mouse/Spec.pm @@ -12,3 +12,88 @@ sub MooseVersion{ $MooseVersion } 1; __END__ + +=head1 NAME + +Mouse::Spec - To what extent Mouse is compatible with Moose + +=head1 DESCRIPTION + +=head2 Notes about Moose::Cookbook + +Many recipes in L fit L, including: + +=over 4 + +=item * + +L - The (always classic) B example + +=item * + +L - A simple B example + +=item * + +L - A lazy B example + +=item * + +L - Subtypes, and modeling a simple B class hierarchy + +=item * + +L - More subtypes, coercion in a B class + +=item * + +L - The augment/inner example + +=item * + +L - Making Moose fast with immutable + +=item * + +L - Builder methods and lazy_build + +=item * + +L - Operator overloading, subtypes, and coercion + +=item * + +L - Using BUILDARGS and BUILD to hook into object construction + +=item * + +L - The Moose::Role example + +=item * + +L - Advanced Role Composition - method exclusion and aliasin + +=item * + +L - Applying a role to an object instance + +=item * + +L - A meta-attribute, attributes with labels + +=item * + +L - Labels implemented via attribute traits + +=item * + +L - Providing an alternate base object class + +=back + +=head1 SEE ALSO + +L + +=cut +