Number...ANP::BS(3pm)
β¨ Number::Phone::NANP::BS β¨
okay so bestie, real talk: this is the BS-specific glow-up layer for Number::Phone. It lives in the User Contributed Perl Documentation corner of the 3pm man pages and it's here to make Bahamian numbers hit different. π
π NAME π
Number::Phone::NANP::BS β BS-specific methods for Number::Phone
π¦ DESCRIPTION π¦
So here's the tea. This class implements BS-specific methods for Number::Phone. It's a subclass of Number::Phone::NANP, which is, in turn, a subclass of Number::Phone. π
Why the middle layer, you ask? Because Number::Phone::NANP sits in the middle so that all NANP countries can share some significant chunks of code β it's giving β¨community propertyβ¨ and honestly, iconic.
The way that you should never need to use this module directly? Fr fr. Number::Phone::NANP will load it automatically when needed, so you can just vibe and let it handle its own business. π«Ά
πΈ SYNOPSIS πΈ
Look at you, doing it right:
use Number::Phone::NANP;
my $phone_number = Number::Phone->new('+1 242 302 7000');
# returns a Number::Phone::NANP::BS object
Not me casually flexing how clean that is. ππ
π METHODS π
The following methods from Number::Phone are overridden:
regulatorβ Returns information about the national telecomms regulator. That's it, that's the whole job, and she does it flawlessly. π
π BUGS/FEEDBACK π
Found a bug? Obsessed with that for you, but please do report it here:
https://github.com/DrHyde/perl-modules-Number-Phone/issues
and include, if possible, a test case. A test case is the difference between "slay, fixed" and "bestie I'm lost", so pls pls pls. π
And ngl β I welcome feedback from users. All of it. Bring it. π«Ά
π LICENCE π
You may use, modify and distribute this software under the same terms as perl itself. No cap. Go off. β¨
π AUTHOR π
David Cantrell <david@cantrell.org.uk>
Copyright 2026
okay so that's the whole page, and it was documented with perl v5.40.1 dated 2026-06-11. π Take care of her, she's Number...ANP::BS(3pm) and she ate. ππ§
π¦ 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