in reply to Re: Parsing pipe-delimited text that contains pipes
in thread Parsing pipe-delimited text that contains pipes
I can see how to use Text::CSV to parse files, but how do I parse an array?
$csv->parse($string) or die "failed to parse '$string'"; my @fields = $csv->fields;
Update: I assume you meant how to parse a string instead of an array. If not, please show (with code!) what you mean.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Parsing pipe-delimited text that contains pipes
by slugger415 (Monk) on Aug 12, 2019 at 19:47 UTC |