|P is for Practical|
pure-perl gzip compressionby hackmare (Pilgrim)
|on Oct 12, 2001 at 02:47 UTC||Need Help??|
hackmare has asked for the
wisdom of the Perl Monks concerning the following question:
Does anyone know of a pure-perl implementation of gzipping functionality?
I need to zip a string and send it through a server without relying on the local gzip, zlib, or winzip program.
The application is for gzipping the output stream of a SVG data stream coming from my SVG module on CPAN. If there is a clean, truly perlish way to compress the file as it is being sent, I could incorporate it into the module. Right now, everything I can find seems to have a non-perl dependency. I'm being peculiar and would like the module to remain without non-perl dependencies.
I've found APIs for the above programs on CPAN, but nothing stand-alone that I can access with a pure-perl conscience.
I have a feeling this is going into Bad Territory, but thought I would put the question out to see if I can find luck where I find wisdom.
Yours in ignorance,