sub is_valid {
my ( $class, $email ) = @_;
return ($email =~ m{$Email::Address::mailbox}) ? 1 : 0;
my @addrs = Email::Address->parse($email);
return @addrs ? 1 : 0;
}
1;
-