Search notes:

Perl module Archive::Extract

#
#   Use this script to unzip a zip file.
#   See also ../Zip/script.pl
#
use warnings;
use strict;

use Archive::Extract;
use File::Spec::Functions 'tmpdir';

die "Specify zip file" unless (@ARGV);

my $zip_file = shift;

my $temp_dir = tmpdir . '/unzipped-by-Archive-Extract';

my $unzip = Archive::Extract->new(archive => $zip_file);

my $ok = $unzip->extract(to => $temp_dir);

print "\nZipfile extracted to $temp_dir\n";
Github repository PerlModules, path: /Archive/Extract/script.pl

See also

Perl module Archive::Zip
shell commands zip and unzip
Emailing executables
Perl modules.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1740433651, '18.218.150.40', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Perl/modules/Archive/Extract/index(67): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78