X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod.pm;h=fa8821a8fd453a53b78cc04172fdc0e59360e5e9;hb=43c1bb1ad8ebe5534248ddc761a9bbbc95044643;hp=7d68298cb8d42db3e8376dce3638e636a213cb14;hpb=503ed64839f2938fc29e8bfbfb21f631a0c4ccda;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 7d68298..fa8821a --- 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,7 @@ Mouse::Meta::Method - A Mouse Method metaclass =head1 VERSION -This document describes Mouse version 0.67 +This document describes Mouse version 0.71 =head1 DESCRIPTION