open file.gz; while (<file.gz>) { } [download]
In reply to Opening and reading .gz file by Anonymous Monk