Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Double zipped files

by graff (Chancellor)
on Apr 22, 2016 at 22:19 UTC ( #1161275=note: print w/replies, xml ) Need Help??


in reply to Double zipped files

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1161275]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2021-03-07 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (121 votes). Check out past polls.

    Notices?