# perldoc > MIME::Decoder::Gzip64

## NAME
    [MIME::Decoder::Gzip64](https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ADecoder%3A%3AGzip64/markdown) - decode a "base64" gzip stream

## SYNOPSIS
    A generic decoder object; see [MIME::Decoder](https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ADecoder/markdown) for usage.

## DESCRIPTION
    A [MIME::Decoder::Base64](https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ADecoder%3A%3ABase64/markdown) subclass for a nonstandard encoding whereby data are gzipped, then the
    gzipped file is base64-encoded. Common non-standard MIME encodings for this:

        x-gzip64

    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](https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ADecoder%3A%3AGzip64/markdown) '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](https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ADecoder%3A%3AGzip64/markdown);

        $[MIME::Decoder::Gzip64::GZIP](https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ADecoder%3A%3AGzip64%3A%3AGZIP/markdown)   = 'gzip -c';
        $[MIME::Decoder::Gzip64::GUNZIP](https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ADecoder%3A%3AGzip64%3A%3AGUNZIP/markdown) = 'gzip -d -c';

## SEE ALSO
    [MIME::Decoder](https://www.chedong.com/phpMan.php/perldoc/MIME%3A%3ADecoder/markdown)

## AUTHOR
    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.

