Number...ANP::DM(3pm)

πŸ’– Number::Phone::NANP::DM β€” the DM edition, bestie πŸ’–

okay so real talk, this is Number::Phone::NANP::DM, and it's a Perl module from the User Contributed Perl Documentation crew. DM-specific methods for Number::Phone β€” that's the whole vibe. πŸ¦‹


✨ DESCRIPTION ✨

So this class right here? It implements DM-specific methods for Number::Phone. It's a subclass of Number::Phone::NANP, which is itself a subclass of Number::Phone. The way that Number::Phone::NANP sits in the middle is so intentional, because all NANP countries can share some significant chunks of code β€” like, why rewrite the same thing twelve times when you can just share it? πŸ’…

Important, bestie: you should never need to use this module directly. Number::Phone::NANP will just load it automatically when needed. It's giving "I got you, don't worry about it." πŸ™ˆ

🌸 SYNOPSIS 🌸

use Number::Phone::NANP;

my $phone_number = Number::Phone->new('+1 767 448 1408');
# returns a Number::Phone::NANP::DM object

See? So simple. And that +1 767 448 1408 comes back as a Number::Phone::NANP::DM object. Slay. πŸ‘‘


πŸŽ€ METHODS πŸŽ€

The following methods from Number::Phone are overridden:

  • regulator β€” returns information about the national telecomms regulator. literally that's it, that's the whole method. ✨

πŸ’€ BUGS / FEEDBACK πŸ’€

Found a bug? 😭 Please report it at <https://github.com/DrHyde/perl-modules-Number-Phone/issues> β€” and if you possibly can, toss in a test case, because a bug report without a test case is giving "trust me bro" energy. 🫢

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. So do your thing. πŸŽ€


🌈 AUTHOR 🌈

David Cantrell <david@cantrell.org.uk>

Copyright 2026


and that's the whole page, bestie!! πŸ¦‹ this was perl v5.40.1, dated 2026-06-11, and it lives at Number...ANP::DM(3pm) forever and ever. mwah πŸ’–βœ¨

πŸ“¦ where this page comes from