Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: gunzip exception

by tybalt89 (Monsignor)
on Feb 08, 2021 at 15:33 UTC ( [id://11128078]=note: print w/replies, xml ) Need Help??


in reply to gunzip exception

#!/usr/bin/perl use strict; # https://perlmonks.org/?node_id=11128056 use warnings; use Gzip::Faster; my $gz = ''; my $data; eval { local *STDERR; open STDERR, '>', '/dev/null'; $data = gunzip( $gz ); } or die "can't unzip file";

Outputs just:

can't unzip file at ./pm11128056.pl line 10.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11128078]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-26 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found