Problems? Is your data what you think it is? | |
PerlMonks |
Re: How to Split on specific occurrence of a commaby LanX (Saint) |
on Dec 03, 2020 at 21:27 UTC ( [id://11124601]=note: print w/replies, xml ) | Need Help?? |
Hi instead of limiting split , I'd rather swallow all splitted cells into a long @array and then loop over that @array with splice to chunk out whatever length you want. here a little demo in the debugger, looping over the alphabet in chunks of 10
HTH! :)
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|