I would say its a WinZip type file, but it only has one file in it. WinZip knows what 
it is. Has an file extension of .zip, not .gz or .tar (my knowledge here is minimal). 
I will look into Archive::Zip. I don't think Deflate compression was used so I may 
have problems there as well. But hey I am learning and appreciate your help.

I have worked around it by using "unzip -p zipfile.zip | ./pgm.pl" and read it from 
STDIN. As you point out it might not be efficient. However, this is a short lived 
program (I hope). Still will persue looking for a better solution for the knowledge.

One other question, the doc for Compress::Zlib says "refer to the zlib documentation" 
over and over. Where is that doc? Is it within cpan.org or perldoc?

John

>>> "Wiggins d'Anconia" <[EMAIL PROTECTED]> 09/26/03 10:41AM >>>
<snip>
Ok that may help to clear things up, but 1 question first.  Is this a 'zip archive' 
file or is it a 'zipped file'.  In other words, is this an archive that contains 
multiple files in the sense of WinZip, etc. (excuse my lack of Win32 knowledge), or is 
it a single file that has been compressed in the gzip unix manner?

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."

Is this where the snag lies?






--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to