in reply to Reading large files
I understand for your example that those are compressed files with extension .gz
Untested, but you could try the module IO::Uncompress::Gunzip instead. Your gunzip version should be > 1.2.4 in any case.