By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,177 Members | 976 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,177 IT Pros & Developers. It's quick & easy.

reading txt file located in zip archives

Looking2Learn
P: 5
Hi,
I'm currently attempting to read a text file that is located in two subsequent zip archives, (ex: archive1.zip/archive2.zip/textfile.txt).

In my looking around the web, I came across perl's "Archive::Zip::MemberRead", but I couldn't find any good tutorials on using it.

Can I use "Archive::Zip::MemberRead" to accomplish what I'd like to do?
If so, could anyone point to some good examples/tutorials, etc?
And if not, could someone point me in the right direction?

Thanks!

Josh
Jul 2 '08 #1
Share this Question
Share on Google+
3 Replies


nithinpes
Expert 100+
P: 410
Archive::Zip::MemberRead is the right option for your requirement. You can find some sample scripts along with the download in CPAN.

-Nithin
Jul 3 '08 #2

Looking2Learn
P: 5
Great, thanks!

As a follow-up question, in reading through the FAQ for Archive::Zip on CPAN, the author mentioned the "examples" directory
http://search.cpan.org/~adamk/Archive-Zip-1.23/lib/Archive/Zip/FAQ.pod#Sample_code?
But (and I realize this is noobish), being new to the CPAN site, I can't find that directory.
If anyone could provide a link to it, I would appreciate it very much.
Thanks!

Josh
Jul 7 '08 #3

Looking2Learn
P: 5
Never mind, just found it.
Jul 7 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.