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