Changes for version 3.8000 - 2021-09-19

  • Bugfix for numbers in local format which may be ambiguous for UK Crown Dependencies when using Number::Phone::Lib
  • Bugfix for when you ask for an object representing a number in one country but provide a number for a different country. This mostly affects countries that contain other jurisdictions squatting on parts of their number plan, such as the Vatican in the Italian plan, and the Crown Dependencies in the UK plan. It is now an error to ask for an object representing a number in a 'sub-country' which isn't valid in that sub-country (eg asking for a Jersey object but passing a Guernsey number); but if you ask for an object representing the 'super-country' but pass a 'sub-country' number you'll still get an object representing the sub-country. ie, say "gimme a GB object for this 'ere Guernsey number" and you'll get a Guernsey object.
  • Data updates

Documentation

how to write custom formatters

Modules

base class for Number::Phone::* modules
Lookup country of phone number
base class for other formatters
formatter for nationally-formatted phone number
nationally-preferred format for international phone number
simple formatter for E.123-formatted phone numbers
Instantiate Number::Phone::* objects from libphonenumber
NANP-specific methods for Number::Phone
AG-specific methods for Number::Phone
AI-specific methods for Number::Phone
AS-specific methods for Number::Phone
BB-specific methods for Number::Phone
BM-specific methods for Number::Phone
BS-specific methods for Number::Phone
CA-specific methods for Number::Phone
DM-specific methods for Number::Phone
DO-specific methods for Number::Phone
GD-specific methods for Number::Phone
GU-specific methods for Number::Phone
JM-specific methods for Number::Phone
KN-specific methods for Number::Phone
KY-specific methods for Number::Phone
LC-specific methods for Number::Phone
MP-specific methods for Number::Phone
MS-specific methods for Number::Phone
PR-specific methods for Number::Phone
SX-specific methods for Number::Phone
TC-specific methods for Number::Phone
TT-specific methods for Number::Phone
US-specific methods for Number::Phone
VC-specific methods for Number::Phone
VG-specific methods for Number::Phone
VI-specific methods for Number::Phone
Base class for auto-generated country files
UK-specific methods for Number::Phone
GG-specific methods for Number::Phone
IM-specific methods for Number::Phone
JE-specific methods for Number::Phone

Provides

in lib/Number/Phone/Country/Data.pm
in lib/Number/Phone/NANP/Data.pm
in lib/Number/Phone/StubCountry/AC.pm
in lib/Number/Phone/StubCountry/AD.pm
in lib/Number/Phone/StubCountry/AE.pm
in lib/Number/Phone/StubCountry/AF.pm
in lib/Number/Phone/StubCountry/AG.pm
in lib/Number/Phone/StubCountry/AI.pm
in lib/Number/Phone/StubCountry/AL.pm
in lib/Number/Phone/StubCountry/AM.pm
in lib/Number/Phone/StubCountry/AO.pm
in lib/Number/Phone/StubCountry/AR.pm
in lib/Number/Phone/StubCountry/AS.pm
in lib/Number/Phone/StubCountry/AT.pm
in lib/Number/Phone/StubCountry/AU.pm
in lib/Number/Phone/StubCountry/AW.pm
in lib/Number/Phone/StubCountry/AX.pm
in lib/Number/Phone/StubCountry/AZ.pm
in lib/Number/Phone/StubCountry/BA.pm
in lib/Number/Phone/StubCountry/BB.pm
in lib/Number/Phone/StubCountry/BD.pm
in lib/Number/Phone/StubCountry/BE.pm
in lib/Number/Phone/StubCountry/BF.pm
in lib/Number/Phone/StubCountry/BG.pm
in lib/Number/Phone/StubCountry/BH.pm
in lib/Number/Phone/StubCountry/BI.pm
in lib/Number/Phone/StubCountry/BJ.pm
in lib/Number/Phone/StubCountry/BL.pm
in lib/Number/Phone/StubCountry/BM.pm
in lib/Number/Phone/StubCountry/BN.pm
in lib/Number/Phone/StubCountry/BO.pm
in lib/Number/Phone/StubCountry/BQ.pm
in lib/Number/Phone/StubCountry/BR.pm
in lib/Number/Phone/StubCountry/BS.pm
in lib/Number/Phone/StubCountry/BT.pm
in lib/Number/Phone/StubCountry/BW.pm
in lib/Number/Phone/StubCountry/BY.pm
in lib/Number/Phone/StubCountry/BZ.pm
in lib/Number/Phone/StubCountry/CA.pm
in lib/Number/Phone/StubCountry/CC.pm
in lib/Number/Phone/StubCountry/CD.pm
in lib/Number/Phone/StubCountry/CF.pm
in lib/Number/Phone/StubCountry/CG.pm
in lib/Number/Phone/StubCountry/CH.pm
in lib/Number/Phone/StubCountry/CI.pm
in lib/Number/Phone/StubCountry/CK.pm
in lib/Number/Phone/StubCountry/CL.pm
in lib/Number/Phone/StubCountry/CM.pm
in lib/Number/Phone/StubCountry/CN.pm
in lib/Number/Phone/StubCountry/CO.pm
in lib/Number/Phone/StubCountry/CR.pm
in lib/Number/Phone/StubCountry/CU.pm
in lib/Number/Phone/StubCountry/CV.pm
in lib/Number/Phone/StubCountry/CW.pm
in lib/Number/Phone/StubCountry/CX.pm
in lib/Number/Phone/StubCountry/CY.pm
in lib/Number/Phone/StubCountry/CZ.pm
in lib/Number/Phone/StubCountry/DE.pm
in lib/Number/Phone/StubCountry/DJ.pm
in lib/Number/Phone/StubCountry/DK.pm
in lib/Number/Phone/StubCountry/DM.pm
in lib/Number/Phone/StubCountry/DO.pm
in lib/Number/Phone/StubCountry/DZ.pm
in lib/Number/Phone/StubCountry/EC.pm
in lib/Number/Phone/StubCountry/EE.pm
in lib/Number/Phone/StubCountry/EG.pm
in lib/Number/Phone/StubCountry/EH.pm
in lib/Number/Phone/StubCountry/ER.pm
in lib/Number/Phone/StubCountry/ES.pm
in lib/Number/Phone/StubCountry/ET.pm
in lib/Number/Phone/StubCountry/FI.pm
in lib/Number/Phone/StubCountry/FJ.pm
in lib/Number/Phone/StubCountry/FK.pm
in lib/Number/Phone/StubCountry/FM.pm
in lib/Number/Phone/StubCountry/FO.pm
in lib/Number/Phone/StubCountry/FR.pm
in lib/Number/Phone/StubCountry/GA.pm
in lib/Number/Phone/StubCountry/GB.pm
in lib/Number/Phone/StubCountry/GD.pm
in lib/Number/Phone/StubCountry/GE.pm
in lib/Number/Phone/StubCountry/GF.pm
in lib/Number/Phone/StubCountry/GG.pm
in lib/Number/Phone/StubCountry/GH.pm
in lib/Number/Phone/StubCountry/GI.pm
in lib/Number/Phone/StubCountry/GL.pm
in lib/Number/Phone/StubCountry/GM.pm
in lib/Number/Phone/StubCountry/GN.pm
in lib/Number/Phone/StubCountry/GP.pm
in lib/Number/Phone/StubCountry/GQ.pm
in lib/Number/Phone/StubCountry/GR.pm
in lib/Number/Phone/StubCountry/GT.pm
in lib/Number/Phone/StubCountry/GU.pm
in lib/Number/Phone/StubCountry/GW.pm
in lib/Number/Phone/StubCountry/GY.pm
in lib/Number/Phone/StubCountry/HK.pm
in lib/Number/Phone/StubCountry/HN.pm
in lib/Number/Phone/StubCountry/HR.pm
in lib/Number/Phone/StubCountry/HT.pm
in lib/Number/Phone/StubCountry/HU.pm
in lib/Number/Phone/StubCountry/ID.pm
in lib/Number/Phone/StubCountry/IE.pm
in lib/Number/Phone/StubCountry/IL.pm
in lib/Number/Phone/StubCountry/IM.pm
in lib/Number/Phone/StubCountry/IN.pm
in lib/Number/Phone/StubCountry/IO.pm
in lib/Number/Phone/StubCountry/IQ.pm
in lib/Number/Phone/StubCountry/IR.pm
in lib/Number/Phone/StubCountry/IS.pm
in lib/Number/Phone/StubCountry/IT.pm
in lib/Number/Phone/StubCountry/JE.pm
in lib/Number/Phone/StubCountry/JM.pm
in lib/Number/Phone/StubCountry/JO.pm
in lib/Number/Phone/StubCountry/JP.pm
in lib/Number/Phone/StubCountry/KE.pm
in lib/Number/Phone/StubCountry/KG.pm
in lib/Number/Phone/StubCountry/KH.pm
in lib/Number/Phone/StubCountry/KI.pm
in lib/Number/Phone/StubCountry/KM.pm
in lib/Number/Phone/StubCountry/KN.pm
in lib/Number/Phone/StubCountry/KP.pm
in lib/Number/Phone/StubCountry/KR.pm
in lib/Number/Phone/StubCountry/KW.pm
in lib/Number/Phone/StubCountry/KY.pm
in lib/Number/Phone/StubCountry/KZ.pm
in lib/Number/Phone/StubCountry/LA.pm
in lib/Number/Phone/StubCountry/LB.pm
in lib/Number/Phone/StubCountry/LC.pm
in lib/Number/Phone/StubCountry/LI.pm
in lib/Number/Phone/StubCountry/LK.pm
in lib/Number/Phone/StubCountry/LR.pm
in lib/Number/Phone/StubCountry/LS.pm
in lib/Number/Phone/StubCountry/LT.pm
in lib/Number/Phone/StubCountry/LU.pm
in lib/Number/Phone/StubCountry/LV.pm
in lib/Number/Phone/StubCountry/LY.pm
in lib/Number/Phone/StubCountry/MA.pm
in lib/Number/Phone/StubCountry/MC.pm
in lib/Number/Phone/StubCountry/MD.pm
in lib/Number/Phone/StubCountry/ME.pm
in lib/Number/Phone/StubCountry/MF.pm
in lib/Number/Phone/StubCountry/MG.pm
in lib/Number/Phone/StubCountry/MH.pm
in lib/Number/Phone/StubCountry/MK.pm
in lib/Number/Phone/StubCountry/ML.pm
in lib/Number/Phone/StubCountry/MM.pm
in lib/Number/Phone/StubCountry/MN.pm
in lib/Number/Phone/StubCountry/MO.pm
in lib/Number/Phone/StubCountry/MP.pm
in lib/Number/Phone/StubCountry/MQ.pm
in lib/Number/Phone/StubCountry/MR.pm
in lib/Number/Phone/StubCountry/MS.pm
in lib/Number/Phone/StubCountry/MT.pm
in lib/Number/Phone/StubCountry/MU.pm
in lib/Number/Phone/StubCountry/MV.pm
in lib/Number/Phone/StubCountry/MW.pm
in lib/Number/Phone/StubCountry/MX.pm
in lib/Number/Phone/StubCountry/MY.pm
in lib/Number/Phone/StubCountry/MZ.pm
in lib/Number/Phone/StubCountry/NA.pm
in lib/Number/Phone/StubCountry/NC.pm
in lib/Number/Phone/StubCountry/NE.pm
in lib/Number/Phone/StubCountry/NF.pm
in lib/Number/Phone/StubCountry/NG.pm
in lib/Number/Phone/StubCountry/NI.pm
in lib/Number/Phone/StubCountry/NL.pm
in lib/Number/Phone/StubCountry/NO.pm
in lib/Number/Phone/StubCountry/NP.pm
in lib/Number/Phone/StubCountry/NR.pm
in lib/Number/Phone/StubCountry/NU.pm
in lib/Number/Phone/StubCountry/NZ.pm
in lib/Number/Phone/StubCountry/OM.pm
in lib/Number/Phone/StubCountry/PA.pm
in lib/Number/Phone/StubCountry/PE.pm
in lib/Number/Phone/StubCountry/PF.pm
in lib/Number/Phone/StubCountry/PG.pm
in lib/Number/Phone/StubCountry/PH.pm
in lib/Number/Phone/StubCountry/PK.pm
in lib/Number/Phone/StubCountry/PL.pm
in lib/Number/Phone/StubCountry/PM.pm
in lib/Number/Phone/StubCountry/PR.pm
in lib/Number/Phone/StubCountry/PS.pm
in lib/Number/Phone/StubCountry/PT.pm
in lib/Number/Phone/StubCountry/PW.pm
in lib/Number/Phone/StubCountry/PY.pm
in lib/Number/Phone/StubCountry/QA.pm
in lib/Number/Phone/StubCountry/RE.pm
in lib/Number/Phone/StubCountry/RO.pm
in lib/Number/Phone/StubCountry/RS.pm
in lib/Number/Phone/StubCountry/RU.pm
in lib/Number/Phone/StubCountry/RW.pm
in lib/Number/Phone/StubCountry/SA.pm
in lib/Number/Phone/StubCountry/SB.pm
in lib/Number/Phone/StubCountry/SC.pm
in lib/Number/Phone/StubCountry/SD.pm
in lib/Number/Phone/StubCountry/SE.pm
in lib/Number/Phone/StubCountry/SG.pm
in lib/Number/Phone/StubCountry/SH.pm
in lib/Number/Phone/StubCountry/SI.pm
in lib/Number/Phone/StubCountry/SJ.pm
in lib/Number/Phone/StubCountry/SK.pm
in lib/Number/Phone/StubCountry/SL.pm
in lib/Number/Phone/StubCountry/SM.pm
in lib/Number/Phone/StubCountry/SN.pm
in lib/Number/Phone/StubCountry/SO.pm
in lib/Number/Phone/StubCountry/SR.pm
in lib/Number/Phone/StubCountry/SS.pm
in lib/Number/Phone/StubCountry/ST.pm
in lib/Number/Phone/StubCountry/SV.pm
in lib/Number/Phone/StubCountry/SX.pm
in lib/Number/Phone/StubCountry/SY.pm
in lib/Number/Phone/StubCountry/SZ.pm
in lib/Number/Phone/StubCountry/TA.pm
in lib/Number/Phone/StubCountry/TC.pm
in lib/Number/Phone/StubCountry/TD.pm
in lib/Number/Phone/StubCountry/TG.pm
in lib/Number/Phone/StubCountry/TH.pm
in lib/Number/Phone/StubCountry/TJ.pm
in lib/Number/Phone/StubCountry/TK.pm
in lib/Number/Phone/StubCountry/TL.pm
in lib/Number/Phone/StubCountry/TM.pm
in lib/Number/Phone/StubCountry/TN.pm
in lib/Number/Phone/StubCountry/TO.pm
in lib/Number/Phone/StubCountry/TR.pm
in lib/Number/Phone/StubCountry/TT.pm
in lib/Number/Phone/StubCountry/TV.pm
in lib/Number/Phone/StubCountry/TW.pm
in lib/Number/Phone/StubCountry/TZ.pm
in lib/Number/Phone/StubCountry/UA.pm
in lib/Number/Phone/StubCountry/UG.pm
in lib/Number/Phone/StubCountry/US.pm
in lib/Number/Phone/StubCountry/UY.pm
in lib/Number/Phone/StubCountry/UZ.pm
in lib/Number/Phone/StubCountry/VA.pm
in lib/Number/Phone/StubCountry/VC.pm
in lib/Number/Phone/StubCountry/VE.pm
in lib/Number/Phone/StubCountry/VG.pm
in lib/Number/Phone/StubCountry/VI.pm
in lib/Number/Phone/StubCountry/VN.pm
in lib/Number/Phone/StubCountry/VU.pm
in lib/Number/Phone/StubCountry/WF.pm
in lib/Number/Phone/StubCountry/WS.pm
in lib/Number/Phone/StubCountry/XK.pm
in lib/Number/Phone/StubCountry/YE.pm
in lib/Number/Phone/StubCountry/YT.pm
in lib/Number/Phone/StubCountry/ZA.pm
in lib/Number/Phone/StubCountry/ZM.pm
in lib/Number/Phone/StubCountry/ZW.pm
in lib/Number/Phone/UK/Data.pm
in lib/Number/Phone/UK/Exchanges.pm