Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Double zipped files

by graff (Chancellor)
on Apr 22, 2016 at 22:19 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1161275]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found