GX::MIME::Util - MIME-related utility functions
# Load the module use GX::MIME::Util qw( format_to_mime_type );
This module provides various utility functions and constants.
format_to_mime_type
Returns the internet media type (MIME type) for the given format identifier.
$mime_type = format_to_mime_type( $format );
$format ( string )
$format
$mime_type ( string | undef )
$mime_type
undef
REGEX_MIME_TYPE
RFC 2045
RFC 2046
Jörg A. Uzarek <uzarek@runlevelnull.de>
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.
To install GX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GX
CPAN shell
perl -MCPAN -e shell install GX
For more information on module installation, please visit the detailed CPAN module installation guide.