1 package Moose::Meta::Method::Accessor::Native::Array::clear;
7 $VERSION = eval $VERSION;
8 our $AUTHORITY = 'cpan:STEVAN';
12 with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
16 _optimized_set_new_value
22 sub _maximum_arguments { 0 }
24 sub _adds_members { 0 }
26 sub _potential_value { return '[]' }
28 sub _optimized_set_new_value {
30 my ($inv, $new, $slot_access) = @_;
32 return $slot_access . ' = []';
35 sub _return_value { return '' }