Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Split tags and words nicelyby themage (Friar) |
on Dec 28, 2006 at 13:18 UTC ( [id://592035]=note: print w/replies, xml ) | Need Help?? |
Hi bwgoudey,
I think you may be looking for this: The main trick is to use () inside the regex used in split to capture the delimiters.
In Section
Seekers of Perl Wisdom
|
|