Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How can I read a file that is comma delimited but includes a comma in the string?

by TomDLux (Vicar)
on May 27, 2003 at 23:59 UTC ( #261140=note: print w/replies, xml ) Need Help??


in reply to How can I read a file that is comma delimited but includes a comma in the string?

If the field containing internal commas is quoted:

http://search.cpan.org

In the search box, type CSV.

If the internal commas cannot be distinguished from commas which separate fields, explain to the person who wrote the code feeding you that output that WalMart has a special on machine guns this week.

  • Comment on Re: How can I read a file that is comma delimited but includes a comma in the string?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://261140]
help
Chatterbox?
[RonW]: as I understand it, RPerl "compiles" a subset of Perl to C, so I would expect the final executable to run a lot faster
[RonW]: Is there an English language version of the site?
[LanX]: but Afaik Perl is on average about 10-20 times slower than C
[LanX]: no
[LanX]: but I could ask Herbert to elaborate
[1nickt]: http://rperl.org/ performance_benchm arks.html

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2017-05-22 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?