my($key); my($value); for ($i = 0; $i < $a_whole_lot; $i++) { my($key, $value) = returnsAnArray(); }