Number...ANP::BB(3pm)
π NAME π
Number::Phone::NANP::BB β it's giving "BB-specific methods for Number::Phone", bestie π
This page lives in the User Contributed Perl Documentation section, and if you're reading it you're probably deep in the phone-number mines. Respect. π
πΈ DESCRIPTION πΈ
Okay so, real talk: this class is the BB-specific part of Number::Phone. It handles the stuff that only applies to BB, and it does it as a subclass of Number::Phone::NANP β which is itself a subclass of Number::Phone. Layers, hunny. It's layers. π§
Why the middle layer? Because Number::Phone::NANP sits there on purpose: all the NANP countries get to share some significant chunks of code, and nobody wants to rewrite the same thing twelve times. Efficiency ate, fr fr π
And here's the thing β you should never need to use this module directly. Not even once. π Number::Phone::NANP will load it automatically when it's needed, so just let it do its little job in the background. Main character energy from a background module, honestly.
β¨ SYNOPSIS β¨
Here's the whole vibe, copy-paste ready π«Ά
use Number::Phone::NANP;
my $phone_number = Number::Phone->new('+1 246 434 3444');
# returns a Number::Phone::NANP::BB object
Look at that. You hand it a number, it hands you back a Number::Phone::NANP::BB object. No cap. β
π METHODS π
The following methods from Number::Phone are overridden β i.e. this module said "thanks, I'll take it from here" and did its own version:
regulatorβ returns information about the national telecomms regulator. That's it, that's the whole method, and honestly? Iconic. Knowing who the regulator is = knowing who to file a complaint with, and that is power. π₯
π¦ BUGS/FEEDBACK π¦
Found a bug? Bestie, please tell someone! Report bugs at:
<https://github.com/DrHyde/perl-modules-Number-Phone/issues> β wait, no, that's a link, and we don't do links here, so here it is as plain text like the original: https://github.com/DrHyde/perl-modules-Number-Phone/issues
And if you possibly can, include a test case. A bug report with a test case is a bug report that actually gets fixed, iykyk π
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. Go wild, just keep the same terms. That's the deal. β¨
π AUTHOR π
David Cantrell <david@cantrell.org.uk> π
Copyright 2026
Heads up bestie: that's Copyright 2026, exactly like the page says. Don't @ me, @ the calendar. ποΈ
perl v5.40.1 Β· 2026-06-11 β and that's the version and date this page was generated with, so that's your timestamp, periodt. Mwah, love you, go make some phone calls. πππ
π¦ 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