http://qs321.pair.com?node_id=947251

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

If a file is being split and the line it is on has this:

print $_fileLine;

and it contained this:

1945,"4,399.00",938,1/10/2012

and if I split it like this:

my @_fileparts = split(/\,/, $_fileLine);
Then it would split the dollar amount too...

So how do I make it not split values that are between the "" lines?

Thanks,
Richard