1 package Moose::Meta::Method::Accessor::Native::Array::join;
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 {
30 'if (!Moose::Util::_STRINGLIKE0($_[0])) {',
31 $self->_inline_throw_error(
32 '"The argument passed to join must be a string"',
40 my ($slot_access) = @_;
42 return 'join $_[0], @{ (' . $slot_access . ') }';