[Israel.pm] C style for loop

Shmuel Fomberg shmuelfomberg at gmail.com
Sat Feb 25 02:54:47 PST 2012

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,


On Sat, Feb 25, 2012 at 2:17 AM, Erez Schatz <moonbuzz at gmail.com> wrote:

> On 24 February 2012 17:55, Roman M. Parparov <roman at parparov.com> 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
> Perl at perl.org.il
> http://mail.perl.org.il/mailman/listinfo/perl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.perl.org.il/pipermail/perl/attachments/20120225/0ba74e13/attachment.htm 

More information about the Perl mailing list