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().
In reply to Re: Reading a Filehandle by line or by stream
by diotalevi
in thread Reading a Filehandle by line or by stream
by MadPogo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |