in reply to Stream data from application to Gzip
With PerlIO (default in Perl 5.8+) you can use the PerlIO::gzip layer.
Now everything you print will be gzipped and shoved into the file.use PerlIO::gzip; open local(*STDOUT), '>:gzip', $filename or die $!;
Your "FILE=filename" snippit looks fishy, no variable sigils.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Stream data from application to Gzip
by TeraMarv (Beadle) on Mar 23, 2005 at 04:01 UTC | |
by naChoZ (Curate) on Mar 23, 2005 at 14:09 UTC |