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

Re: Need help parsing comma-delimited file

by pizza_milkshake (Monk)
on May 20, 2004 at 22:40 UTC ( [id://355107]=note: print w/replies, xml ) Need Help??


in reply to Need help parsing comma-delimited file

perl -MCPAN -e'install Text::CSV' ... #!perl -wl use strict; use Text::CSV; my $csv = new Text::CSV; while (<DATA>) { next unless $csv->parse($_); print join(":", $csv->fields()); } __DATA__ "1","2",3 "a,b",c,d

perl -e"\$_=qq/nwdd\x7F^n\x7Flm{{llql0}qs\x14/;s/./chr(ord$&^30)/ge;print"

Replies are listed 'Best First'.
Re: Re: Need help parsing comma-delimited file
by FatDog (Beadle) on May 20, 2004 at 22:50 UTC
    Cool. I will install Text::CSV and give it a shot. Thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-24 12:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found