Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^2: Match a comma between two words

by Tux (Abbot)
on Jul 03, 2014 at 10:48 UTC ( #1092143=note: print w/replies, xml ) Need Help??

in reply to Re: Match a comma between two words
in thread Match a comma between two words

  1. 1. Why not? OK, you want to learn, but the problem with CSV is that it looks easy at first but becomes exponentially more complex at every situation that is not simple, like embedded quotes, embedded separation characters (comma), embedded newlines, escaped comma's, (mixed) encodings, etc etc. I do not want to put you off (or insult you), but writing a real (decent) CSV parser is not something to take on as a learning process. OTOH, you could just fetch Text::CSV's code and look at how they do it and learn from that. Then you do not use it as a module, but all the questions you might come up with might have a working answer in the code.
  2. I didn't read any proof of that.
  3. Enjoy and behave

    Enjoy, Have FUN! H.Merijn

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2016-10-27 23:33 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (372 votes). Check out past polls.