This is just to "send" the clue. No boundary conditions tested :)$lim=3; while(<DATA>) { if(0 == ($ctr % $lim) ) { print "\n\nNext group of $lim is...\n"; } print ; $ctr++; } __DATA__ one two three four five six seven eight nine ten
In reply to Re: Group every 50 rows
by cheekuperl
in thread Group every 50 rows
by perlnoobster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |