X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod.pm;h=e1057a43749a0d239536af16cdb0fa929a3f5eda;hb=1746908e63ce233fad3c290d731ac34aff7c2d22;hp=c6aa879ddf92bf1629a3a4550939cd5c0324fa51;hpb=86eb0b5e6f0c2d89a6c86516e7bccbf9c7daba1f;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 c6aa879..e1057a4 --- 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.70 +This document describes Mouse version 0.85 =head1 DESCRIPTION