http://www.perlmonks.org?node_id=913162


in reply to performance of File Parsing

Or combine methods and read the file in chunks and process the chunks.