in reply to Multi-Dimensional Array

for my $x (@foo) { for my $y (@$x) { # do your stuff with $y } }

Update: Check node 30275 as well