Welcome to the Monastery | |
PerlMonks |
Making an array out of each line in a fileby exfacior (Initiate) |
on Nov 11, 2004 at 21:52 UTC ( [id://407192]=perlquestion: print w/replies, xml ) | Need Help?? |
exfacior has asked for the wisdom of the Perl Monks concerning the following question:
Hey guys im new here! Your articles and questions have helped me alot. Just a quick one here. I read from Ovid how to read each line from a file into a variable ala but was wondering if it were possible to assign all the lines to an array just as easily. in my case, there are 11 lines, and each line contains one int.
Back to
Seekers of Perl Wisdom
|
|