in reply to Can't find EOCD signature Archive::Zip
******
Q: Can I use Archive::Zip to extract Unix gzip files?
A: No.
There is a distinction between Unix gzip files, and Zip archives that also can use the gzip compression.
Depending on the format of the gzip file, you can use Compress::Zlib, or Archive::Tar to decompress it (and de-archive it in the case of Tar files).
You can unzip PKZIP/WinZip/etc/ archives using Archive::Zip (that's what it's for) as long as any compressed members are compressed using Deflate compression.
******
I ended up just using system calls, though I know the wise men on this sight could suggest other modules that would work.
If I am way off on this, please excuse my misunderstanding.
Update: formatting changes
Eddie
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Can't find EOCD signature Archive::Zip
by woodyuk (Initiate) on Apr 12, 2005 at 11:41 UTC |