I'm a self taught programmer who loves perl (but am
decidedly lacking in most aspects). Anyway, I
ran into a similar situation recently when trying
to unzip gzipped files. I finally tracked down
my problem on CPAN's ARCHIVE::ZIP::FAQ
******
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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.