Re: Email::Address hangs

[email protected] (Ricardo Signes) Sun, 29 Jan 2012 09:25:06 -0500
Newsgroups perl.pep
Message-ID <[email protected]>
* Joseph Crotty <[email protected]> [2012-01-28T18:20:28]
> When calling parse on a large To: header field it hangs. Large in this case
> is 600 emails some with comments. I put in a length check on the To: field
> to avoid this. Are there any other ways to parse long To:field fields
> successfully?

You could provide an anonymized version of this header, so I can look at what
might be happening?

Also, consider trying Mail::Address.

-- 
rjbs
signature.asc (application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJPJVbCAAoJEOYby6cMccU5EGAH/1stgSnrVanC9j62M//Oupl+
P684c1KxpnKHlI7ne5Jhn6WKj210Ql0Z7c0KkH9fLAigXcXtzw7Px0ocfKZ9OtI4
r7yPwtX3TsCOaQDvPy9w5aJrml/nywpKMDlBcQ6p6cpCD9m5r6P9zXmfHg5U53NW
DuvMkAC7jBV0oWVG0TohHOl8JH6SI72SyxDdB5R7G52ZiXho5q7H1ZbKsKwdSz5M
IcxJVXYGReTluf/B+5Oi0i0mMewNvKTgpr5yCJv/GR3lA+hoGmJQ7Vr1kbpXgp4O
7COZs6AwIrYRvaKpJLWpFuJMCmzdkZM40K4JdmP7CXePgQFw7XlYojJYpLNnUFw=
=E9S5
-----END PGP SIGNATURE-----