[Number-phone] Number::Phone 3.9000 released

David Cantrell david at cantrell.org.uk
Sun Mar 5 18:18:27 GMT 2023


I have uploaded Number::Phone 3.9000 to the CPAN.

As well as the usual data updates this includes:

- Add validation using libphonenumber's data for non-geographic country
   codes like +800 (International free phone) and +870 (Inmarsat). See
   https://github.com/DrHyde/perl-modules-Number-Phone/issues/17

- Bug fix: NANP toll-free numbers corrected. 833 area code now
   supported, and regex fixed to only match when the B and C digits are
   the same, so 800 is toll-free, 888 is toll-free, but 808 is not. See
   https://github.com/DrHyde/perl-modules-Number-Phone/issues/110

- Bug fix: NANP 1-600 area code is non-geographic. See
   https://github.com/DrHyde/perl-modules-Number-Phone/issues/113

- I no longer test on perl 5.10

And here's your final warning that the next quarterly release in June 
will be the last where you can expect it to work on perls with 32-bit 
integers.

You can check what size your integers are thus:
   perl -MConfig -e 'print "$Config{ivsize}\n"'

If it says 4 then you have 32-bit ints and will need to upgrade.

-- 
David Cantrell



More information about the number-phone mailing list