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