in reply to Help!: Open2 Hangs on Windows

One idea: use File::Temp to get a temporary filename, and write your gzip output to that. Then read from the temp file. (you probably wanted to avoid a temp file, but at least this module can clean it up for you).