------------------------------------------------
On Fri, 26 Sep 2003 10:04:37 -0500, "JOHN FISHER" <[EMAIL PROTECTED]> wrote:

> 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?
> 

Sorry meant to mention about that last bit. 'zlib' is a C library included on most (if 
not all) unix systems that allows wrappers to be written around reading compressed 
files, aka Compress::Zlib wraps 'zlib' if my understanding is correct.  So it is not 
related directly to Perl which is why 'perldoc' didn't help much. You would need 'man 
zlib' assuming it is installed. I don't know the procedures for a normal Win32 setup 
would be for obtaining the info, Cygwin provides zlib.  For much more info check out:

http://www.gzip.org/zlib/

http://danconia.org


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

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

Reply via email to