Commit | Line | Data |
---|---|---|
f7fd22b6 | 1 | package Moose::Meta::Method::Accessor::Native::Array::Writer; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
5 | ||
10bd99ec | 6 | our $VERSION = '1.14'; |
f7fd22b6 | 7 | $VERSION = eval $VERSION; |
8 | our $AUTHORITY = 'cpan:STEVAN'; | |
9 | ||
8b9641b8 | 10 | use Moose::Role; |
a7821be5 | 11 | |
8b9641b8 | 12 | with 'Moose::Meta::Method::Accessor::Native::Writer', |
13 | 'Moose::Meta::Method::Accessor::Native::Array', | |
14 | 'Moose::Meta::Method::Accessor::Native::Collection'; | |
a7821be5 | 15 | |
44babf1f | 16 | sub _new_members {'@_'} |
a7821be5 | 17 | |
44babf1f | 18 | sub _inline_copy_old_value { |
19 | my ( $self, $slot_access ) = @_; | |
a7821be5 | 20 | |
44babf1f | 21 | return '[ @{' . $slot_access . '} ]'; |
a7821be5 | 22 | } |
23 | ||
f7fd22b6 | 24 | 1; |