On Sat, Apr 08, 2000 at 03:35:39AM +0800, Richi Plana wrote:
>
> What's the best hack to parse a comma-delimited row of double-quotes
> enclosed strings in Perl?
How about...
while (<>) {
my @a = /"(.*?)",?/g;
print join(':', @a), "\n";
}
Mike
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
- [plug] [OT] Parse comma-delimited data in Perl Richi Plana
- Re: [plug] [OT] Parse comma-delimited data in Pe... Michael J. Maravillo
- Re: [plug] [OT] Parse comma-delimited data i... Richi Plana
