1 package Moose::Meta::Method::Accessor::Native::Array;
8 use Scalar::Util qw( looks_like_number );
10 our $VERSION = '1.9900';
11 $VERSION = eval $VERSION;
12 our $AUTHORITY = 'cpan:STEVAN';
14 sub _inline_check_var_is_valid_index {
19 'if (!defined(' . $var . ') || ' . $var . ' !~ /^-?\d+$/) {',
20 $self->_inline_throw_error(
21 '"The index passed to ' . $self->delegate_to_method
22 . ' must be an integer"',