|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Split at multiple delimiters and get the delimiterby eff_i_g (Curate) |
| on Mar 01, 2011 at 21:32 UTC ( [id://890833]=note: print w/replies, xml ) | Need Help?? |
|
Your question has been answered; however, I suggest using a character class rather than alternating single characters: split /([:%;])/.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||