From: Shawn M Moore Date: Wed, 11 Jun 2008 11:03:35 +0000 (+0000) Subject: Doc updates X-Git-Tag: 0.04~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b7a74822e0483a9dc432af6c64e6b187e360b624;p=gitmo%2FMouse.git Doc updates --- diff --git a/Changes b/Changes index b7892d5..6d4e70b 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for Mouse +0.03 + Add before/after/around, courtesy of Class::Method::Modifiers + Add support for ->new({...}) + 0.02 Wed Jun 11 01:56:44 2008 Add Squirrel which acts as Moose if it's already loaded, otherwise Mouse (thanks nothingmuch) diff --git a/lib/Mouse.pm b/lib/Mouse.pm index 329ed83..65ff90f 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -208,10 +208,6 @@ Mouse also has the blessings of Moose's author, stevan. =head2 MISSING FEATURES -=head3 Method modifiers - -Fixing this one next, with a reimplementation of L. - =head3 Roles Fixing this one slightly less soon. stevan has suggested an implementation @@ -246,6 +242,21 @@ Returns this class' metaclass instance. Sets this class' superclasses. +=head2 before (method|methods) => Code + +Installs a "before" method modifier. See L or +L. + +=head2 after (method|methods) => Code + +Installs an "after" method modifier. See L or +L. + +=head2 around (method|methods) => Code + +Installs an "around" method modifier. See L or +L. + =head2 has (name|names) => parameters Adds an attribute (or if passed an arrayref of names, multiple attributes) to