![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Reading in data that isby davorg (Chancellor) |
on Oct 10, 2001 at 19:43 UTC ( #118018=note: print w/replies, xml ) | Need Help?? |
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:
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
|
|