|go ahead... be a heretic|
Re^2: C-style for loopby LanX (Cardinal)
|on Nov 15, 2008 at 21:54 UTC||Need Help??|
@cnn: your solution is almost the shortest (well,you can abbreviate foreach with for ; ). And I prefere this one!
But the OP wants to conform to the styleguides of PBP & Perl Critics, and postfix-loops are disadviced!
If I was in this situation, I would prefere
with the routine transforming $_ directly, (it's an alias)
- - - - - Which song???