in reply to Extracting a GZIP File
PerlIO::gzip may be of use.
There are also several other relevant modules you might want to take a look at.
Update: Here are a couple related nodes as well:
Hope that helps.