in reply to Using PerlIO::gzip
Just open the file for writing with the :gzip IO layer enabled and it'll create a gzip file. As to "a UNIX gzip file" I haven't any idea what you mean. A gzip file is a gzip file no matter the OS.
duff