Our linux guru wastes a lot of time waiting for log files to compress every
Friday, so I looked into the Compress::Zlib module for a solution.  What I
have come up with is a way to compress piped data to script.  The problem
is, if the pipe ends prematurely (due to a Control-C or power failure), the
gzip file becomes corrupt.  Is there anything I can do to repair the file?
Specifically, when bad things happen, I get a "gunzip: log.gz: unexpected
end of file" error.

Again, many thanks,
Agustin Rivera
Webmaster, Pollstar.com
http://www.pollstar.com

p.s. My problems with mod_perl have been resolved. :D




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to