On Sun, Dec 7, 2014 at 3:41 PM, Mike Flannigan <mikef...@att.net> wrote:
>
> FYI,
>
> Brandon McCaig set me straight that Archive::Zip is not
> designed to extract Unix gzip files.

in the standard Perl libraries you have IO::Uncompress::Gunzip which
should do exactly what you require, I believe.

http://perldoc.perl.org/IO/Uncompress/Gunzip.html

I just checked and it's even in perl 5.10 (a centos 6), and it
certainly is in perl 5.20. There is an examples section that should
get you up and running in no time.

Having said that, I have shelled out to calling the system gunzip in
cases like this (I was using linux, so that was installed by default;
I see you are using Windows, there you could install 7-zip which
understands gzip or you could download the windows port of the unix
powertools like grep, sed, gzip and gunzip among a lot of others).

HTH,

--
natxo

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to