Subject: | failure when email address begins with a number |
I'm having a problem in my program which uses Email::Valid. It dies
with error message:
Can't call method "isa" without a package or object reference at /c/lib/
perl/cpan/Email/Valid.pm line 302, <STDIN> line 4.
This only happens when email address starts with number/digit, e.g.
0day@yahoo.com but not day@yahoo.com. I worked around this by replacing
all 3 occurences of:
$addr->isa('Mail::Address');
with:
UNIVERSAL::isa($addr, 'Mail::Address');