Your problem is that split with no arguments will split on whitespace - and your data record contains lots of white space within the fields.
You probably want a split regualar expression something like this:
split /"\s*"/;
But that will still leave you with extra quotes in the first and last fields that you'd have to remove.
--"The first rule of Perl club is you don't talk about Perl club."
In reply to Re: Reading in data that is
by davorg
in thread Reading in data that is
by basicdez
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |