in reply to Opening and reading .gz file

Funny you should ask: I just did that for my mini-CPAN-mirror program.

-- Randal L. Schwartz, Perl hacker