in reply to Counting Number of Arrays in an Array Reference

$arrayRef is a genuine array reference, with one element per row. An array in scalar context evaluates to the number of elements, so just dereference in scalar context:

my $rows = @{$arrayRef};

After Compline,
Zaxo