« blib/lib/Moose/Meta/Method/Accessor/Native/Array/insert.pm
↑ Summary
blib/lib/Moose/Meta/Method/Accessor/Native/Array/set.pm »
| 1 | package Moose::Meta::Role::Method; | ||||||||||
| 2 | 386 | our $VERSION = '2.4001'; | |||||||||
| 3 | |||||||||||
| 4 | 386 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 386 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 386 | ▶ | use parent 'Moose::Meta::Method'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 5 | ▶ | sub _make_compatible_with { | ||||||||
|
Subroutine
_make_compatible_with: called CC=2 SCAR=7.0
| |||||||||||
| 10 | 5 | my $self = shift; | |||||||||
| 11 | 5 | my ($other) = @_; | |||||||||
| 12 | |||||||||||
| 13 | # XXX: this is pretty gross. the issue here is blah blah blah | ||||||||||
| 14 | # see the comments in CMOP::Method::Meta and CMOP::Method::Wrapped | ||||||||||
| 15 | 5 | ▶ | return $self unless $other->_is_compatible_with($self->_real_ref_name); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | |||||||||||
| 17 | 5 | return $self->SUPER::_make_compatible_with(@_); | |||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | 386 | 1; | |||||||||
| 21 | |||||||||||
| 22 | # ABSTRACT: A Moose Method metaclass for Roles | ||||||||||
| 23 | |||||||||||
| 24 | __END__ | ||||||||||