(update: corrected per ikegami) where .. is used to produce a list.$product *= $_ for 1..$number;
See http://search.cpan.org/perldoc/perlsyn#Statement_Modifiers (noting that foreach and for are synonymous).
In reply to Re: back iffing with for?
by ysth
in thread back iffing with for?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |