X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FAttribute%2FNative%2FMethodProvider%2FCode.pm;h=908e95116a963be7aa7c1817aae166c8e28f92fb;hb=d4048ef33f6cad8a3453766505ee0c67690796f6;hp=e769e94e8dfd1e591d6d98b8b67497c5251a1a1c;hpb=eaf5a43ef108f6a9dce74c84afc25a892cffdfb1;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Attribute/Native/MethodProvider/Code.pm b/lib/Moose/Meta/Attribute/Native/MethodProvider/Code.pm index e769e94..908e951 100644 --- a/lib/Moose/Meta/Attribute/Native/MethodProvider/Code.pm +++ b/lib/Moose/Meta/Attribute/Native/MethodProvider/Code.pm @@ -1,13 +1,13 @@ package Moose::Meta::Attribute::Native::MethodProvider::Code; use Moose::Role; -our $VERSION = '0.90'; +our $VERSION = '0.93'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; sub execute : method { my ( $attr, $reader, $writer ) = @_; - return sub { $reader->(@_)->(@_) }; + return sub { my ($self, @args) = @_; $reader->($self)->(@args) }; } no Moose::Role; @@ -38,9 +38,7 @@ documentation on what methods are provided. =head1 BUGS -All complex software has bugs lurking in it, and this module is no -exception. If you find a bug please either email me, or add the bug -to cpan-RT. +See L for details on reporting bugs. =head1 AUTHOR