laziness, impatience, and hubris | |
PerlMonks |
Re^6: How can you sysread an entire file?by NeilF (Sexton) |
on Jan 13, 2006 at 23:11 UTC ( [id://523107]=note: print w/replies, xml ) | Need Help?? |
I never do a chomp... Every record keeps its "\n" (at the end) and is written back out with it again. I don't plan on splitting the record (variable) while reading - unless there's a good reason. I'll read it all in, then split it on "\n" to put it into an array.
In Section
Seekers of Perl Wisdom
|
|