Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Best X-delimited format?

by sauoq (Abbot)
on Sep 18, 2002 at 16:50 UTC ( [id://198910]=note: print w/replies, xml ) Need Help??

in reply to Best X-delimited format?

I argued any character would be as "optimal" as any other character (although I prefer \t).

I tend to agree with this in theory but in real life, commas, tabs, and pipes are probably used most frequently.

You can get more efficiency out of the case where you are positive that your delimiter won't show up in your data. Otherwise, you really need at least two characters: the delimiter and a quoting (or escaping) character. The less either of those shows up in your data, the less processing you will have to do and the smaller your input will be. So, it is better to use a less frequently used character as the delimiter.

I disagree with you ex-supervisor's assertion that tab is "the standard." There simply is no standard.

"My two cents aren't worth a dime.";

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-07-17 19:17 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.