in reply to Re^2: back iffing with for?
in thread back iffing with for?
but really "for" and "foreach" are interchangable; both keywords can be used for both types of loops.foreach my $country (qw/I give a fig/) { ... }
And, people being people, those who know this tend to use the shorter "for" exclusively, which creates a disjunction with how other people refer to the two loop styles. I much prefer to just say C-style for and regular (or no adjective at all) for.
|
|---|