Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Split at multiple delimiters and get the delimiter

by eff_i_g (Curate)
on Mar 01, 2011 at 21:32 UTC ( #890833=note: print w/ replies, xml ) Need Help??


in reply to Split at multiple delimiters and get the delimiter

Your question has been answered; however, I suggest using a character class rather than alternating single characters: split /([:%;])/.


Comment on Re: Split at multiple delimiters and get the delimiter
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://890833]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2014-08-27 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (238 votes), past polls