in reply to How can I read a line of text from a file into an array?
There's More Than One Way To Do It. If you really trust your input data, you could stick it inside an eval().
What you probably want to do, though, is read up on split(). From the example you provided, you'll probably want something a bit more sophisticated. Try searching for 'CSV' at CPAN
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How can I read a line of text from a file into an array?
by suaveant (Parson) on Jul 16, 2001 at 22:29 UTC |