Number...ANP::PR(3pm)
π NAME π
Number::Phone::NANP::PR β the PR-specific methods for Number::Phone, bestie. That's PR like Puerto Rico, and yes she has her own whole module, as she should π
πΈ DESCRIPTION πΈ
okay so picture this: this class is the one that implements all the PR-specific methods for Number::Phone. She's a subclass of Number::Phone::NANP, which is itself a subclass of Number::Phone. why the middle layer, you ask? because Number::Phone::NANP sits right in the middle like the group chat admin β all NANP countries share some significant chunks of code, so they all pull from the same stash π«Ά
and here's the thing, you should never need to use this module directly. like, ever. Number::Phone::NANP will load it automatically when needed, so it just shows up when it's her time to shine. no manual inviting required π
β¨ SYNOPSIS β¨
use Number::Phone::NANP;
my $phone_number = Number::Phone->new('+1 787 729 3131');
# returns a Number::Phone::NANP::PR object
literally that's it. you hand over the number, you get back a Number::Phone::NANP::PR object, main character energy confirmed π
π METHODS π
the following methods from Number::Phone are overridden:
(no methods are overridden)
ngl, the list is giving absolutely nothing because there's nothing in it π zero overrides, an empty plate, a vibe check that passed by doing nothing at all. slay in the most minimal way possible β¨
π¦ BUGS/FEEDBACK π¦
found a bug? pls pls pls report it at <https://github.com/DrHyde/perl-modules-Number-Phone/issues>, and if you possibly can, bring a test case with you β that's the love language of maintainers fr fr π
also, feedback from users is genuinely welcomed. you are seen, you are heard, you are iconic π«Ά
π LICENCE π
you may use, modify and distribute this software under the same terms as perl itself. that's it, that's the whole deal, go off π
β AUTHOR β
David Cantrell <david@cantrell.org.uk>
Copyright 2026
lowkey the paperwork is cute: this page ships with perl v5.40.1 and got its little timestamp on 2026-06-11 π stay slay, bestie, and may all your phone numbers parse on the first try β¨πΈ
π¦ 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