"David Heayn" wrote: > > At 12:36 PM +0800 6/29/05, Benjamin J. Tilly wrote: > > Why do you need to decompress them beforehand? > > > > open(LOG, "gunzip $file |") or die "Cannot gunzip '$file': $!"; > > > > Or you can avoid the implicit system command by using > > Compress::Zlib. > > I tried the code above. It decompressed the files (and erased the > original) but perl didn't properly display them. In fact, it > displayed nothing but the html title and header. [...] As everyone pointed out, I had the system command wrong. Sorry. That's what I deserve for replying quickly and not testing my command... Ben