more useful options | |
PerlMonks |
Re: Zero-width assertions fail with splitby sk (Curate) |
on Sep 19, 2005 at 06:50 UTC ( [id://493091]=note: print w/replies, xml ) | Need Help?? |
I think your -----0----- led to everyone suggest just split on , but i think you had -----,----- in mind. Here is my take at this but does not do it in one split and not sure if it is even possible!
if you pass in my $data = "1,2,${token},${token},4,5"; Output
In Section
Seekers of Perl Wisdom
|
|