Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Is there a module used to extract zip files? What I have is a few directories with 1 zip file in each dir. I need to extract the zip file, put all the files from the zip file in the DIR, then delete the original zipfile.

There won't be nested zip files or anything. I looked at, I belive, Archive::Zip but I didn't see anything on decompressing it.

Replies are listed 'Best First'.
Re: how to extract zip files
by jdtoronto (Prior) on Aug 30, 2006 at 18:12 UTC
    Archive::Zip is the direct link

    To extract an individual file, use the extractMember method, look in the section Zip Archive Member Operations.

    jdtoronto

Re: how to extract zip files
by ahmad (Hermit) on Aug 30, 2006 at 17:50 UTC

    read the documentation file :

    perldoc archive::zip

    update : if you cant find it , look for "extractTree"