Hi All. Just a bit of clarification: the product that I'm working on (Movable Type) is basically a fancy database-access and data manipulation. So most of the work is on the lines of: fetch a set of objects from the DB, do some work on it, stuff the results into the template. So foreach and map are so much common then doing operation by index. (but not grep, as the objects are already filtered on the DB level, obviously)
Shmuel. On Sat, Feb 25, 2012 at 2:17 AM, Erez Schatz <[email protected]> wrote: > On 24 February 2012 17:55, Roman M. Parparov <[email protected]> wrote: > > And if you need steps different than one? Non-linear? > > TIMTOWTDI, but my own rule of thumb wrt C-style for loops is "You > never need a C-Style for loop unless you really need it". > > > -- > Erez > > Stop software patents > _______________________________________________ > Perl mailing list > [email protected] > http://mail.perl.org.il/mailman/listinfo/perl >
_______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
