for ($i = 0; $i < $no_elements_in_array; i++) { $value = $results->[i]{'somevar1'}{'othervar1'}; print "$value\n"; }