X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod.pm;h=8cf1efc2d7c78aa038f3ba7d2e197ad796d80e4b;hb=b14108de498e1dc906665ce54999fc086d4da72d;hp=33c17acf53c97ed39825d7c83848159b0647a5fc;hpb=d58887328353bfd216406ff7d686b5a4877d1731;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 33c17ac..8cf1efc --- 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.68 +This document describes Mouse version 0.84 =head1 DESCRIPTION