1 package Moose::Meta::Method::Accessor::Native::Array::join;
7 $VERSION = eval $VERSION;
8 our $AUTHORITY = 'cpan:STEVAN';
12 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
17 _inline_check_arguments
22 sub _minimum_arguments { 1 }
24 sub _maximum_arguments { 1 }
26 sub _inline_check_arguments {
29 return $self->_inline_throw_error(
30 q{'The argument passed to join must be a string'})
31 . ' unless defined $_[0] && ! ref $_[0];';
36 my $slot_access = shift;
38 return "join \$_[0], \@{ $slot_access }";