Subject: | Valid US number reported at invalid |
Using 1.8001 and 1.8002 the number 866-547-5365 is reported as invalid
when it's actually fine.
#!/usr/bin/perl -w
use strict;
use warnings;
use Number::Phone;
my $p = new Number::Phone('+1', '866-547-536');
print $p->is_valid . "\n";
Returns:
Can't call method "is_valid" on an undefined value at test_p.pl line 9.