Skip to content

Commit

Permalink
new US area codes
Browse files Browse the repository at this point in the history
  • Loading branch information
DrHyde committed Jun 2, 2021
1 parent 365bec9 commit 41be93c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/Number/Phone/Country.pm
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 41be93c

Please sign in to comment.