X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod.pm;h=a60ea25aa1d0e3366244c58be5f9cfe9168d41c8;hb=66e3df7a8d3d839b53f6fc3af8f4bad6fc27fefe;hp=28ad1addf9a66e35dcc11eecfbef7e2623604a01;hpb=78a4b12980d68fdfeec7b5289e7203771a6e73d6;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Meta/Method.pm b/lib/Mouse/Meta/Method.pm old mode 100755 new mode 100644 index 28ad1ad..a60ea25 --- a/lib/Mouse/Meta/Method.pm +++ b/lib/Mouse/Meta/Method.pm @@ -9,9 +9,9 @@ use overload fallback => 1, ; -sub wrap{ +sub wrap { my $class = shift; - + unshift @_, 'body' if @_ % 2 != 0; return $class->_new(@_); } @@ -54,7 +54,12 @@ Mouse::Meta::Method - A Mouse Method metaclass =head1 VERSION -This document describes Mouse version 0.50_08 +This document describes Mouse version 0.88 + +=head1 DESCRIPTION + +This class is a meta object protocol for Mouse methods, +which is a subset of Moose::Meta:::Method. =head1 SEE ALSO