On Oct 7, 3:07 pm, [email protected] (Shlomi Fish) wrote: > Hi all, > > after being tired of telling Perl newcomers about the same problems with their > code times and times again, I've decided to create this page detailing "Perl > Elements to avoid": > > http://perl-begin.org/tutorials/bad-elements/ > [quote] C-style for loops
Some beginners to Perl tend to use C-style-for-loops to loop over an array's elements: [/quote] Have you considered including an example were it would be appropriate to use the C-style for loop, such as when the iterator needs to change by some value other than 1? -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
