|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: How to populate array with lines from text file? (Moved from Q&A)by Russ (Deacon) |
| on Dec 09, 2000 at 05:47 UTC ( [id://45869]=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.
The main problem was $line. You should use $_ instead.
After a few other clean-ups, this works:
Russ
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||