|
|
| There's more than one way to do things | |
| PerlMonks |
(bbfu) (AoA?) Re: how do I open each line of a text file into seperate arrays?by bbfu (Curate) |
| on Apr 30, 2001 at 21:11 UTC ( [id://76752]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You could use an array of arrays:
HTH. Upd: oops, fixed my array indexes. :-) Upd2: damn, what was I thinking? Changed @lines = [...] to proper push. Upd3: ARGH!!! Thanks for the eq catch, buckaduck. That's what I get when I try to rush a post... :-( bbfu
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||