Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Why is file being slurped in instead of line by line?by Grey Fox (Chaplain) |
on Aug 26, 2006 at 16:27 UTC ( [id://569812]=perlquestion: print w/replies, xml ) | Need Help?? |
Grey Fox has asked for the wisdom of the Perl Monks concerning the following question:
Hello esteemed Monks of perl I am being stumped on why my data is being slurped in all at once instead of line by line. I am trying to pull out only the name and id number, but my array is being loaded with the entire file. Also do I need to clear the array after each record read. I know it must be something simple because I've been staring at it for an hour. Thanks, for your wisdom
-- Grey Fox Perl - Hours to learn lifetime to master.
Back to
Seekers of Perl Wisdom
|
|