IO::Uncompress::Unzip works great to process zip files; but, it doesn't include a routine to actually extract an entire zip file.

Other modules like Archive::Zip include their own unzip routines, which aren't as robust as IO::Uncompress::Unzip; eg. they don't work on zip64 archive files.

So, the following is code to actually use IO::Uncompress::Unzip to extract a zip file.

unzip

Extract a zip file, using IO::Uncompress::Unzip.

Arguments: file to extract, destination path

unzip('stuff.zip', '/tmp/unzipped');