Wrong. See the replies by Joost and johngg, and for practical demonstration try this one-liner
perl -e 'foreach ($i=0;$i<10;$i++) { print $i }'In reply to Re^2: Difference between for and foreach
by tirwhan
in thread Difference between for and foreach
by dilip_val
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |