Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Match a comma between two words

by Tux (Monsignor)
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


Comment on Re^2: Match a comma between two words

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-11-29 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (203 votes), past polls