in reply to Re^2: for loop syntax difference
in thread for loop syntax difference

Also from the official Perl documentation (For Loops):
The foreach keyword is actually a synonym for the for keyword, so you can use foreach for readability or for for brevity.