The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

GX::MIME::Util - MIME-related utility functions

SYNOPSIS

    # Load the module
    use GX::MIME::Util qw(
        format_to_mime_type
    );

DESCRIPTION

This module provides various utility functions and constants.

FUNCTIONS

Public Functions

format_to_mime_type

Returns the internet media type (MIME type) for the given format identifier.

    $mime_type = format_to_mime_type( $format );
Arguments:
  • $format ( string )

Returns:
  • $mime_type ( string | undef )

CONSTANTS

    REGEX_MIME_TYPE

SEE ALSO

AUTHOR

Jörg A. Uzarek <uzarek@runlevelnull.de>

COPYRIGHT AND LICENSE

Copyright (c) 2009-2011 Jörg A. Uzarek.

This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.