1 2 3 4 5 6 7
#!/usr/bin/perl use strict; use warnings; use 5.010; require IO::Uncompress::Gunzip; IO::Uncompress->import(qw(gunzip $GunzipError)); gunzip 'x' => 'y';
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/perl use strict; use warnings; use 5.010; require IO::Uncompress::Gunzip; IO::Uncompress::Gunzip->import(qw(gunzip $GunzipError)); if (gunzip('x' => 'y')) { } else { die "gunzip failed: $GunzipError\n" }