in reply to Reading a Filehandle by line or by stream

It's entirely reasonable to just read the first few kilobytes from your input file and process from that. You could also continue to read additional data from the file until you find your 'END' token. There's no magic here - just check out read() and sysread().

  • Comment on Re: Reading a Filehandle by line or by stream