GX::MIME::Util

Module Version: 0.2000_01

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

AUTHOR

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

COPYRIGHT AND LICENSE

Copyright © 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.