more useful options | |
PerlMonks |
Re: Double zipped filesby graff (Chancellor) |
on Apr 22, 2016 at 22:19 UTC ( [id://1161275]=note: print w/replies, xml ) | Need Help?? |
In addition to Archive::Zip, there's also IO::Uncompress::Unzip, which is a core module in the standard Perl distro. You can open a zip file, read each data file it contains into memory (i.e. store the file content in a scalar variable), and if any data file happens to be named with a ".zip" extension, there's a way to treat the scalar variable (holding the embedded zip file content) as a file handle, so you can use the module to unzip that as well.
In Section
Seekers of Perl Wisdom
|
|