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

πŸ’– NAME πŸ’–

Number::Phone::NANP::BM β€” bestie, this is the BM-specific methods for Number::Phone. Bermuda said "we have opinions" and this is where they live 🏝️✨


🌸 DESCRIPTION 🌸

okay so here's the tea πŸ«– β€” this class implements all the BM-specific methods for Number::Phone. It's a subclass of Number::Phone::NANP, which is itself a subclass of Number::Phone. It's giving family tree, it's giving generational inheritance πŸ’…

Why the middle layer, you ask? Because Number::Phone::NANP sits in the middle so that all the NANP countries can share some significant chunks of code. Sharing is caring, no cap 🀝

not me telling you this but… you should never need to use this module directly. Number::Phone::NANP will load it automatically when needed, like a bestie who just knows 😌

✨ SYNOPSIS ✨

use Number::Phone::NANP;

my $phone_number = Number::Phone->new('+1 441 292 4595');
# returns a Number::Phone::NANP::BM object

look at that, one number, one object, main character energy fr fr πŸ‘‘


πŸŽ€ METHODS πŸŽ€

The following methods from Number::Phone are overridden:

  • regulator β€” Returns information about the national telecomms regulator. that's it, that's the method, and honestly it ate πŸ“

πŸ¦‹ BUGS/FEEDBACK πŸ¦‹

found a bug? okay don't gatekeep it, please report bugs at https://github.com/DrHyde/perl-modules-Number-Phone/issues, and if possible, include a test case β€” a test case is the love language here, it makes everything so much easier 😭🫢

I welcome feedback from users. literally, come thru, I want to hear it πŸ’Œ


πŸ’œ LICENCE πŸ’œ

You may use, modify and distribute this software under the same terms as perl itself. go off, remix it, it's yours to play with πŸ‘‘


🌈 AUTHOR 🌈

David Cantrell <david@cantrell.org.uk>

Copyright 2026


and that's a wrap bestie!! this whole page was written for perl v5.40.1 and dated 2026-06-11, so if you're reading it from the future, hiii πŸ’–πŸ§šπŸŒΈ

πŸ“¦ where this page comes from