|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Split string after 14 Line Feeds?by Cody Fendant (Monk) |
| on Dec 04, 2012 at 11:30 UTC ( #1007067=note: print w/ replies, xml ) | Need Help?? |
|
Just because this solution hasn't been hinted at yet:
Don't forget this kind of solution will leave you with extra unprocessed lines whenever the total number of lines isn't a multiple of 14, so wrap those up after you're finished with the loop.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||