NAME
Email::MIME::RFC2047::Address - Handling of MIME encoded addresses
SYNOPSIS
use Email::MIME::RFC2047::Address;
my $address = Email::MIME::RFC2047::Address->parse($string);
if($address->isa('Email::MIME::RFC2047::Mailbox')) {
print $address->name(), "\n";
print $address->address(), "\n";
}
DESCRIPTION
This is the superclass for Email::MIME::RFC2047::Mailbox and Email::MIME::RFC2047::Group.
CLASS METHODS
parse
my $address = Email::MIME::RFC2047::Address->parse($string, [$decoder])
Parses a RFC 2822 'address'. Returns either a Email::MIME::RFC2047::Mailbox or a Email::MIME::RFC2047::Group object.
AUTHOR
Nick Wellnhofer <wellnhofer@aevum.de>
COPYRIGHT AND LICENSE
Copyright (C) Nick Wellnhofer, 2009
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.0 or, at your option, any later version of Perl 5 you may have available.