FYI,
Brandon McCaig set me straight that Archive::Zip is not designed to extract Unix gzip files. I then tried to use Archive::Tar, but it gave the error: Invalid header block at offset unknown at unzipgz.pl line 20 Error reading H.dat.gz: at unzipgz.pl line 20. I tried it on 2 different sets of GZ files. I will use other means to get his done. Mike On 12/4/2014 6:15 AM, Mike Flannigan wrote:
This is a very old problem that apparently still persists. Some or all gzip files created on Unix can't be unzipped by Archive::Zip (1.38). There are tons of old posts from 2005 that mention this problem, but apparently it is not an easy fix. Here is one link: http://www.perlmonks.org/?node_id=445999 The gzip files open fine on my win7 machine when I double click them (probably uses Winzip), but Archive::Zip cannot open them. Does this happen for all people on all OS, or does it work for some people and some situations? Mike
-- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/