in reply to data parsing

Can you have data like this?

COLUMN_C: "something","something,with a comma", "other stuff"

Or like this?

COLUMN_C: "something","something\"with a quote", "other stuff"

If so, I recommend that you use a CSV parsing module.

Replies are listed 'Best First'.
Re^2: data parsing
by davorg (Chancellor) on Jul 22, 2004 at 08:34 UTC

    Text::ParseWords handles both of those possibilities without any problems - and it's a standard part of the Perl distribution.

    --
    <http://www.dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg