http://www.perlmonks.org?node_id=955973


in reply to size of an array ref

# Get the size of a reference to an array: my $array_ref = 'this','that','the other'; my $item_count = @{$array_ref};