debian man page for email::mime::contenttype

Query: email::mime::contenttype

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Email::MIME::ContentType(3pm)				User Contributed Perl Documentation			     Email::MIME::ContentType(3pm)

NAME
Email::MIME::ContentType - Parse a MIME Content-Type Header
VERSION
version 1.013 $Id: /my/pep/Email-MIME-ContentType/trunk/lib/Email/MIME/ContentType.pm 31133 2007-03-22T19:52:26.296283Z rjbs $
SYNOPSIS
use Email::MIME::ContentType; # Content-Type: text/plain; charset="us-ascii"; format=flowed my $ct = 'text/plain; charset="us-ascii"; format=flowed'; my $data = parse_content_type($ct); $data = { discrete => "text", composite => "plain", attributes => { charset => "us-ascii", format => "flowed" } };
FUNCTIONS
parse_content_type This routine is exported by default. This routine parses email content type headers according to section 5.1 of RFC 2045. It returns a hash as above, with entries for the dis- crete type, the composite type, and a hash of attributes.
WARNINGS
This is not a valid content-type header, according to both RFC 1521 and RFC 2045: Content-Type: type/subtype; If a semicolon appears, a parameter must. "parse_content_type" will carp if it encounters a header of this type, but you can suppress this by setting $Email::MIME::ContentType::STRICT_PARAMS to a false value. Please consider localizing this assignment!
PERL EMAIL PROJECT
This module is maintained by the Perl Email Project. <http://emailproject.perl.org/wiki/Email::MIME::ContentType>
AUTHOR
Casey West, "casey@geeknest.com" Simon Cozens, "simon@cpan.org"
SEE ALSO
Email::MIME perl v5.8.8 2008-03-01 Email::MIME::ContentType(3pm)
Related Man Pages
email::date::format(3pm) - debian
email::mime::createhtml::resolver::filesystem(3pm) - debian
email::outlook::message(3pm) - debian
email::send::io(3pm) - debian
email::sender(3pm) - debian
Similar Topics in the Unix Linux Community
Searching for fields in a file
ASCII Text formatting
Install problem Email::Stuff
Determine Content-Type
Sending an Email using MIME protocol