Perlのforeachってforの完全な同義語だから、

foreach ($i = 0; $i < $n; $i++) { ... }
も
for (@a) { ... }
も可能だったなぁ。後者はともかく前者はかなり嫌な感じだ。