in reply to Re: How to read multiple files from multiple zip archive.
in thread How to read multiple files from multiple zip archive.

Hi Hauke,

Thanks for replying. Yes I read documentation and I search lots of code for it but my issue is not to extract the member the issue is apply condition on member name and read all its content and write it into output file

Complexity level is looping, because I need to read 4 directory and each directory has 4 zip files and each zip file has 2 files (.txt & .doc) and I need to read all .txt file and write into output.txt

  • Comment on Re^2: How to read multiple files from multiple zip archive.

Replies are listed 'Best First'.
Re^3: How to read multiple files from multiple zip archive.
by haukex (Archbishop) on Dec 19, 2016 at 13:05 UTC

    Hi Mjpaddy,

    So what code have you tried?

    For getting a list of files, glob may be helpful. And the Archive::Zip documentation says: "One can use Archive::Zip::MemberRead to read the zip file archive members as if they were files."

    Regards,
    -- Hauke D