> # proposed > foreach $index (keys @array) { > do_something($index, @array[$index]); > }
That's too much like PHP, and people would start thinking arrays and hashes are the same type (associative arrays with autoquoted keys). I think it's a good idea anyway. -Hao