How is that more idiomatic? for and foreach are synonyms.
Perhaps the use of $_ instead of the named variable is what you're referring to, but I am not convinced that that is more idiomatic.
In reply to Re^3: array or array ref as variable
by Lawliet
in thread array or array ref as variable
by Hossein
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |