This commit is contained in:
20
CPAN/Moose/Meta/Method/Accessor/Native/Code/execute.pm
Normal file
20
CPAN/Moose/Meta/Method/Accessor/Native/Code/execute.pm
Normal file
@@ -0,0 +1,20 @@
|
||||
package Moose::Meta::Method::Accessor::Native::Code::execute;
|
||||
our $VERSION = '2.2207';
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use Moose::Role;
|
||||
|
||||
with 'Moose::Meta::Method::Accessor::Native::Reader';
|
||||
|
||||
sub _return_value {
|
||||
my $self = shift;
|
||||
my ($slot_access) = @_;
|
||||
|
||||
return $slot_access . '->(@_)';
|
||||
}
|
||||
|
||||
no Moose::Role;
|
||||
|
||||
1;
|
||||
@@ -0,0 +1,20 @@
|
||||
package Moose::Meta::Method::Accessor::Native::Code::execute_method;
|
||||
our $VERSION = '2.2207';
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use Moose::Role;
|
||||
|
||||
with 'Moose::Meta::Method::Accessor::Native::Reader';
|
||||
|
||||
sub _return_value {
|
||||
my $self = shift;
|
||||
my ($slot_access) = @_;
|
||||
|
||||
return $slot_access . '->($self, @_)';
|
||||
}
|
||||
|
||||
no Moose::Role;
|
||||
|
||||
1;
|
||||
Reference in New Issue
Block a user