From 41be93cce4ba327bc05a79f0f511b0e7d6225e41 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Wed, 2 Jun 2021 23:26:57 +0100 Subject: [PATCH] new US area codes --- lib/Number/Phone/Country.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Number/Phone/Country.pm b/lib/Number/Phone/Country.pm index 59589ca..35ba783 100644 --- a/lib/Number/Phone/Country.pm +++ b/lib/Number/Phone/Country.pm @@ -32,8 +32,8 @@ sub phone2country { our %NANP_areas = ( CA => do { # see http://www.cnac.ca/co_codes/co_code_status.htm - # checked on 2020-12-04 - # next check due 2021-06-01 (semi-annually) + # checked on 2021-06-02 + # next check due 2021-12-01 (semi-annually) my $canada = join('|', qw( 204 226 236 249 250 289 306 343 354 365 367 368 @@ -55,20 +55,20 @@ our %NANP_areas = ( # and https://en.wikipedia.org/wiki/List_of_North_American_Numbering_Plan_area_codes#United_States # NB for Hyder, Alaska, it shares three COs with Stewart, BC, and we can't tell which number is in which country, # so those prefixes aren't listed here - # checked on 2020-12-04 - # next check due 2021-06-01 (semi-annually) + # checked on 2021-06-02 + # next check due 2021-12-01 (semi-annually) my $usa = join('|', qw( 205 251 256 334 659 938 907 480 520 602 623 928 327 479 501 870 209 213 279 310 323 341 408 415 424 442 510 530 559 562 619 626 628 650 657 661 669 707 714 747 760 805 818 820 831 840 858 909 916 925 949 951 - 303 719 720 970 + 303 719 720 970 983 203 475 860 959 302 202 771 239 305 321 352 386 407 448 561 656 689 727 754 772 786 813 850 863 904 941 954 - 229 404 470 478 678 706 762 770 912 + 229 404 470 478 678 706 762 770 912 943 808 208 986 217 224 309 312 331 447 464 618 630 708 730 773 779 815 847 872