libemail-mime-contenttype-perl | Parse a MIME Content-Type Header | Mehr ...
Email::MIME::ContentType provides a method for parsing email content type headers according to section 5.1 of RFC 2045. The method returns a hash having entries for the discrete type, the composite type, and a hash of attributes.