Skip Menu |

This queue is for tickets about the Data-Validate-Email CPAN distribution.

Report information
The Basics
Id: 61046
Status: new
Priority: 0/
Queue: Data-Validate-Email

People
Owner: Nobody in particular
Requestors: MARKLE [...] cpan.org
Cc: CARNIL [...] cpan.org
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.04
Fixed in: (no value)



Subject: 'foo' valid in new Email::Address but not other RFC822 libs
Data::Validate::Email fails to build when the newest version of Email::Address is installed. Might be better to depend on Mail::RFC822::Address instead. Thanks. --mark-- hedges@vm4:~$ ./lame.pl RFC::RFC822::Address - not valid Mail::RFC822::Address - not valid Email::Address::mailbox - valid hedges@vm4:~$ cat lame.pl #!/usr/bin/perl use strict; use warnings FATAL => 'all'; use English '-no_match_vars'; require RFC::RFC822::Address; require Mail::RFC822::Address; use Email::Address; my $str = 'foo'; print RFC::RFC822::Address::valid($str) ? "RFC::RFC822::Address - valid\n" : "RFC::RFC822::Address - not valid\n"; print Mail::RFC822::Address::valid($str) ? "Mail::RFC822::Address - valid\n" : "Mail::RFC822::Address - not valid\n"; print $str =~ /^$Email::Address::mailbox$/ ? "Email::Address::mailbox - valid\n" : "Email::Address::mailbox - not valid\n";