![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: Columns to arraysby delirium (Chaplain) |
on Jul 01, 2004 at 23:44 UTC ( [id://371263]=note: print w/replies, xml ) | Need Help?? |
Assuming the first column of data is never quoted, and there are always exactly two columns, split will work just fine. Otherwise, check out one of the CSV modules on CPAN.
Here is a solution using split:
In Section
Seekers of Perl Wisdom
|
|