in reply to Reading in data that is
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.
--<http://www.dave.org.uk>
"The first rule of Perl club is you don't talk about Perl club."
|
---|
In Section
Seekers of Perl Wisdom