Re: Email::Address::XS

[email protected] (Ricardo Signes) Sat, 28 May 2016 16:33:02 -0400
Newsgroups perl.pep
Message-ID <20160528203302.GA30151@debian>
--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* [email protected] [2016-05-23T13:05:39]
> I created new perl module Email::Address::XS for parsing and formatting
> email groups or addresses. Parser is borrowed from dovecot and that part
> implemented in C/XS.

Cool!

> Thanks to named group support I would like to extend Email::MIME module
> to allow passing directly Email::Address::XS objects, not only string
> headers to make MIME encoding and decoding from applications easier.
>=20
> What do you think about it?

I'm not sure what you're suggesting.  Do you mean:

  Email::MIME->create(..., header =3D> [ To =3D> $addr_xs, ...  ]);

=2E..as opposed to:

  Email::MIME->create(..., header =3D> [ To =3D> $addr_xs->as_string, ...  =
]);

?  Could you elaborate?

--=20
rjbs

--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJXSgB+AAoJEOYby6cMccU5VyIIAMgCCLH2jVrx5N86oJpnB8LE
yK4M8WtCKaNNrkBCzJFGG+GlHl26yvmpCjLW3+wM6bZTBTvu6heauobmRD4R0huF
cA36EW/WA8XkRzKEOnP0hZ2RgIrYjxMqn802Hzi5B/3EDzL1GjLiCjK/WfALjl+S
R4GbweB6fkqfckOEigFgwU2y9zm1R8el3v0HVbMy6wMEviq6fClR2f5ly6qcLqhS
sbjXklOLnZhNp8WUmWbgaxVISTrNuK2mM16GPyYOJuN0M4jPFseMhiXFu+9SwSvR
lekrHZ8LNYLvb//N5RSSuwpOU/2ynM8MJjZduSdxR/IyTQdT1mXBXk+ZDMB2CSg=
=pKPk
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--