Why confuse them though? I would think that telling them up front that they are the same would be easier for them in the long run. Bad enough that some perl programmers still think that they are somehow different. I never use "foreach" myself, but that's because I am exercising the first Perl Virtue. :)
In reply to RE (\d+): C Style For and Foreach The Same
by turnstep
in thread Finding the length of an array of arrays
by target
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |