Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Split criteria

by arkturuz (Curate)
on Nov 05, 2008 at 10:01 UTC ( #721595=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Split criteria
in thread Split criteria

Sure. It's not in the given data though.

Replies are listed 'Best First'.
Re^4: Split criteria
by Fletch (Chancellor) on Nov 05, 2008 at 13:36 UTC

    When trying to come up with a really unlikely temporary separator it's better to use something really unlikely to occur in the real data. Since perl can cope with strings with embedded nulls just fine s/!,!/!\0!/g would be a more robust option.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2016-07-30 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (267 votes). Check out past polls.