The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#!/usr/bin/perl
# [[[ HEADER ]]]
use RPerl;
use strict;
our $VERSION = 0.001_000;
# [[[ CRITICS ]]]
## no critic qw(ProhibitUselessNoCritic ProhibitMagicNumbers RequireCheckedSyscalls) # USER DEFAULT 1: allow numeric values & print operator
## no critic qw(RequireInterpolationOfMetachars) # USER DEFAULT 2: allow single-quoted control characters & sigils
# [[[ OPERATIONS ]]]
# homogeneous 2-dimensional array of arrays, using inner types
my arrayref_arrayref $array_array = [
my integer_arrayref $TYPED_array_array_0 = [ 17, -23, 1_701 ],
my integer_arrayref $TYPED_array_array_1 = [ -1, 444, 2_987 ],
my integer_arrayref $TYPED_array_array_2 = [ -321, 7, 24_851 ]
];
foreach my arrayref $array ( @{$array_array} ) {
print '$array = ', Dumper($array), "\n";
}