Number...ANP::US(3pm)
π Number::Phone::NANP::US (3pm) β the US glow-up for Number::Phone
okay bestie, so this is Number::Phone::NANP::US, a User Contributed Perl Documentation page, and it's lowkey the US-specific sidekick of the Number::Phone universe. β¨
πΈ NAME πΈ
Number::Phone::NANP::US β the US-specific methods for Number::Phone. periodt. πΊπΈ
π¦ DESCRIPTION π¦
So here's the tea π: this class implements the US-specific methods for Number::Phone. It's a subclass of Number::Phone::NANP, and that one is a subclass of Number::Phone. Why the middle layer, you ask? Because Number::Phone::NANP sits in the middle so that all the NANP countries can share some significant chunks of code β no cap, that's just efficient queen behavior π
And the best part: you should never need to use this module directly, because Number::Phone::NANP will load it automatically when needed. Let the module do the work, fr fr. π
β¨ SYNOPSIS β¨
use Number::Phone::NANP;
my $phone_number = Number::Phone->new('+1 202 418 1440');
# returns a Number::Phone::NANP::US object
look at that. clean. iconic. give the +1 202 418 1440 a lil kiss for me π
π METHODS π
The following methods from Number::Phone::NANP are overridden (yes, they got a glow-up):
data_sourceβ returns a string telling you where and when the data for US operators was last updated, and it looks something like this:
"National Pooling Administrator at Wed Sep 30 10:37:39 2020 UTC"
also, the current value of this is documented in Number::Phone::Data, so go peek there if you're nosy (affectionate) π
regulatorβ the national telecomms regulator. simple as that. π«Ά
π BUGS/FEEDBACK π
Found a bug? Not me being your beta tester π please report it at <a>https://github.com/DrHyde/perl-modules-Number-Phone/issues</a> β and, if possible, include a test case with it. That's the good karma move, bestie π
Also, I welcome feedback from users. genuinely. drop a lil note, it feeds the soul π
π§ LICENCE π§
You may use, modify and distribute this software under the same terms as perl itself. slay, open source rights π
π AUTHOR π
David Cantrell <david@cantrell.org.uk>
Copyright 2026
and that's the whole page, bestie β this was Number...ANP::US(3pm) from perl v5.40.1, dated 2026-06-11. go make some phone calls, you've earned it β¨π
π¦ where this page comes from
- ubuntu stonking: libnumber-phone-perl 4.0011-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms