[Israel.pm] C style for loop
shmuelfomberg at gmail.com
Sat Feb 25 02:54:47 PST 2012
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".
> Stop software patents
> Perl mailing list
> Perl at perl.org.il
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Perl