Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I have a doubt. How can I split the below with the delimiter "','" with 4 times it occurs?
my $to_split = 'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z';
So that output will be like,
'A','B','C','D','E' 'F','G','H','I','J' 'K','L','M','N','O' 'P','Q','R','S','T' 'U','V','W','X','Y' 'Z'
basically I need to split with delimitter "','" but not all the times it occur, but every 4 times it occur.
Back to
Seekers of Perl Wisdom