Do you know where your variables are? | |
PerlMonks |
Re^3: C-style for loopby DrHyde (Prior) |
on Nov 17, 2008 at 10:15 UTC ( [id://724027]=note: print w/replies, xml ) | Need Help?? |
But the OP wants to conform to the styleguides of PBP & Perl Critics, and postfix-loops are disadviced PBP advises against a lot of useful things. That doesn't mean that you shouldn't use them. It means that you shouldn't use them without a little bit of thought. In the right place, a C-style for loop is Just Fine. In the right place, a "postfix-loop" is Just Fine.
In Section
Seekers of Perl Wisdom
|
|