Produce Attempt to uncompress empty string at ./aa.pl line 11. done which mean - generate fatal error but not recognize it YES, i will check that the file is not empty before using gzip - it will be easier for nowmy $gz = 'f'; my $data; eval { $data = gunzip( $gz );}; if ($@) { say "Something wrong"; exit; }; say "done";
In reply to Re^2: gunzip exception
by luxs
in thread gunzip exception
by luxs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |