in reply to Explain Archive::Zip to me please?

I'm sure you've heard this before - or at least have seen it before - but, what code have you tried, and what is the exact error message that you're getting?

A zip file has "member" files that are archived/compressed within. Extracting a tree, without looking at the docs, sounds like asking for some directory, recursively, that is archived/compressed within a zip file. The "root" option sounds like the destination directory that will hold the unarchived/uncompressed copy of the recursive tree. But, still, it would be handy to see the code and the error message you're getting.

Replies are listed 'Best First'.
Re^2: Explain Archive::Zip to me please?
by Cody Pendant (Prior) on Sep 11, 2005 at 05:37 UTC
    I knew someone would post "show us your code"! But seriously, my problem isn't the code, it's that I don't understand the POD for Archive::Zip. Here's a perfect example.
    The "root" option sounds like the destination directory that will hold the unarchived/uncompressed copy of the recursive tree.

    Yes, it does. But it isn't. There's a totally separate destination option. It told me that the "root" option would be used to extract everything beginning with that string, so, as the folder I wanted to extract started with "c" (it was called "content"), I used "c" as the root and got a folder called "ontent". Maybe it's just me but I don't understand the documentation.



    ($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
    =~y~b-v~a-z~s; print