in reply to Re: PerlIO::gzip - Handling Corrupt tar file
in thread PerlIO::gzip - Handling Corrupt tar file
if ( $log =~ /.tar.gz$/ ) { unless ( open LOG, "<:gzip", $log ){ log_msg (LOG_ERR, "Cannot open $log for read : File may be + corrupt"); next; } }
|
|---|