Number...ANP::MP(3pm)
β¨ NAME β¨
Number::Phone::NANP::MP β the MP-specific methods for Number::Phone, bestie π
(that's MP as in the country code, and yes this is a whole Perl module about it, we love a niche queen π)
πΈ DESCRIPTION πΈ
Okay so, this class implements the MP-specific methods for Number::Phone. It's a subclass of Number::Phone::NANP, which is itself a subclass of Number::Phone. So the family tree is giving three generations of iconic π
Number::Phone::NANP sits in the middle of that chain because literally all NANP countries get to share some pretty significant chunks of code β group project but make it functional π«Ά
And here's the thing: you should never need to use this module directly, because Number::Phone::NANP will load it automatically when needed. It just shows up. Main character energy. It doesn't need an invite, it is the invite β¨
π SYNOPSIS π
use Number::Phone::NANP;
my $phone_number = Number::Phone->new('+1 670 682 4555');
# returns a Number::Phone::NANP::MP object
Look at that. You ask for a number, you get a Number::Phone::NANP::MP object back. No cap, that's the whole vibe π
π METHODS π
The following methods from Number::Phone are overridden:
(no methods are overridden)
Yeah. Zero. None. Nothing. Not a single one. It's giving minimalism, it's giving "the real work happens in the parent classes", and honestly? Respect πβ¨
π BUGS/FEEDBACK π
Found a bug? Please report it at:
<https://github.com/DrHyde/perl-modules-Number-Phone/issues>
...and include a test case if you possibly can, because a bug report without a test case is like a group chat message that just says "we need to talk" π
Also: feedback from users is welcome. Genuinely. Come through π«Ά
π LICENCE π
You may use, modify and distribute this software under the same terms as perl itself. Slay, permissive, iconic π
π AUTHOR π
David Cantrell <david@cantrell.org.uk>
Copyright 2026
and that's the whole page, bestie π this was Number...ANP::MP(3pm) from the User Contributed Perl Documentation, running on perl v5.40.1, dated 2026-06-11 β mwah, go read your phone numbers, ily πβ¨
π¦ 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