From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

use strict;
use IO::Uncompress::Gunzip qw( $GunzipError );
sub load {
my $fname = 'foo.gz';
IO::Uncompress::Gunzip->new($fname)
or die "gzip failed: $GunzipError\n";
}