MIME::Decoder::Gzip64(3) User Contributed Perl Documentation MIME::Decoder::Gzip64(3)

MIME::Decoder::Gzip64 - decode a "base64" gzip stream

A generic decoder object; see MIME::Decoder for usage.

A MIME::Decoder::Base64 subclass for a nonstandard encoding whereby data are gzipped, then the gzipped file is base64-encoded. Common non-standard MIME encodings for this:


Since this class relies on external programs which may not exist on your machine, MIME-tools does not "install" it by default. To use it, you need to say in your main program:

install MIME::Decoder::Gzip64 'x-gzip64';

Note: if this class isn't working for you, you may need to change the commands it runs. In your main program, you can do so by setting up the two commands which handle the compression/decompression.

use MIME::Decoder::Gzip64;
$MIME::Decoder::Gzip64::GZIP   = 'gzip -c';
$MIME::Decoder::Gzip64::GUNZIP = 'gzip -d -c';


Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com).

All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2024-04-28 perl v5.38.2