in reply to Using compress::zlib output as a filehandle
Here are my errors:use Compress::Zlib; my $gz = gzopen("$system_config{sendmail_log_dir}$_") || warn "Could n +ot open $system_config{sendmail_log_dir}$_ for reading: $!\n"; my $line; while($gz->gzreadline($line)) { push (@logfile_contents,$line); } $gz->gzclose();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using compress::zlib output as a filehandle
by Thelonius (Priest) on Mar 21, 2003 at 17:52 UTC |