![]() |
![]()
| ![]() |
![]()
NAMEEmail::AddressParser - RFC 2822 Address Parsing and Creation SYNOPSISuse Email::AddressParser; my @addresses = Email::AddressParser->parse($line); my $address = Email::AddressParser->new(Tony => 'tony@localhost'); print $address->format; VERSIONversion 0.01 DESCRIPTIONThis class is a near drop-in replacement for the regex parsing of Email::Address, which has serious issues for production use (exponential to infinite computation time in some cases). It uses code from Mark Crispin's c-client library to implement the parsing. The resulting parser is much more stable than the regex-based version of Email::Address. Note, RFC2822 comments are removed by this version (you can pass them in, and you can ask for them, but they will always be empty). Class Methods
Instance Methods
SEE ALSOEmail::Address. AUTHORParser by Mark Crispin. Perl integration by Anthony Kay <tkay@cs.uoregon.edu>. Most documentation shamelessly borrowed from Email::Address. COPYRIGHTAll parsing code is Copyright (c) 1988-2006 University of Washington, under the Apache License 2.0. The Perl integration is licesened under the same terms as Perl itself. POD ERRORSHey! The above document had some coding errors, which are explained below:
|