You don't have to worry about checking for SIGPIPE cause you only get that when writing to a pipe.open GZ, "|gzip -dc foo.gz" or die "Can't open pipe: $!"; my $buf; print $buf while read GZ, $buf, 1024; close GZ or die "Can't close pipe: $!";
In reply to Re: Opening zip'd files
by btrott
in thread Opening zip'd files
by markguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |