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 |