Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Can't find EOCD signature Archive::Zip

by edbewald (Beadle)
on Apr 08, 2005 at 16:41 UTC ( #446074=note: print w/replies, xml ) Need Help??


in reply to Can't find EOCD signature Archive::Zip

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

  • Comment on Re: Can't find EOCD signature Archive::Zip

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
    Ive just found this site and you've helped me out massivley Eddie, much appreciated oh wise one. Look forward to helping out fellow monks where I can. Matthew.

    Work : the curse of the drinking classes
    existem : bristol tonight

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://446074]
help
Chatterbox?
[Corion]: Meh. $effin_bad_system has an interface breakdown and then loads events in parallel with events overtaking one another instead of being processed sequentially
[shmem]: Discipulus: dunno, but we do all the time ^^
[choroba]: Discipulus I was taught so by a Londoner
[shmem]: Corion: very clear case of missing sequence number
[Corion]: shmem: Yeah. I guess they have a sequence number but distribute the events across threads or machines or whatever.
[karlgoethebier]: choroba: another chapter of "Learning English At The Monastry"?
[shmem]: Corion, well then... next issue, sequence number not a shared resource :P
[Discipulus]: shmem i'm searching it.. but failing i was sure was in Re: Let's Make PerlMonks Great Again! -- suggestions and dreams
erix recommends Vanished Kingdoms
[Corion]: shmem: Yeah, something like that. Not that that would be a solved issue. Simply process all events that come in from a single interface sequentially. Ah well.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2017-05-23 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?