in reply to Re^5: How can you sysread an entire file?
in thread How can you sysread an entire file?

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.
  • Comment on Re^6: How can you sysread an entire file?