Email::Address::UseXS - ensure that any code uses Email::Address::XS instead of Email::Address
To use, simply add use Email::Address::UseXS; in your code before anything that tries to load in Email::Address.
use Email::Address::UseXS;
use Email::Address::UseXS; print Email::Address->parse('user@example.com');
Email::Address is dangerous, badly-formed input can cause very slow regex expressions (taking minutes or more to run). See https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7686 for details.
Greg Sabino Mullane <TURNSTEP@cpan.org> and Tom Molesworth <TEAM@cpan.org>.
<TURNSTEP@cpan.org>
<TEAM@cpan.org>
Licensed under the same terms as Perl itself.
To install Email::Address::UseXS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::Address::UseXS
CPAN shell
perl -MCPAN -e shell install Email::Address::UseXS
For more information on module installation, please visit the detailed CPAN module installation guide.