How to properly recursively navigate into archives stored in archives
- From: David Karr <davidmichaelkarr@xxxxxxxxx>
- Date: Fri, 1 Jun 2012 09:57:01 -0700 (PDT)
I have a small perl script that I use to search archives for members matching a name. I'd like to enhance this so that if it finds any members in the archive that are also archives (zip, jar, etc) it will then recursively scan those, looking for the original desired pattern.
I've looked through the "Archive::Zip" documentation, and I thought I saw how to do this. I noticed the "fh()" and "readFromFileHandle()" methods. However, in my testing, it appears that the "fh()" call on an archive member returns the file handle for the containing archive, not the member. Perhaps I'm doing it wrong, but I appreciate an example of how to do this.
.
- Follow-Ups:
- Prev by Date: Re: Help with install from CPAN
- Next by Date: Re: Help with install from CPAN
- Previous by thread: Re: Help with install from CPAN
- Next by thread: Re: How to properly recursively navigate into archives stored in archives
- Index(es):