1 package Moose::Meta::Method::Accessor::Native::Array::join;
8 our $VERSION = '1.9900';
9 $VERSION = eval $VERSION;
10 our $AUTHORITY = 'cpan:STEVAN';
14 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
19 _inline_check_arguments
24 sub _minimum_arguments { 1 }
26 sub _maximum_arguments { 1 }
28 sub _inline_check_arguments {
32 'if (!Moose::Util::_STRINGLIKE0($_[0])) {',
33 $self->_inline_throw_error(
34 '"The argument passed to join must be a string"',
42 my ($slot_access) = @_;
44 return 'join $_[0], @{ (' . $slot_access . ') }';