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

πŸ’– Number::Phone::NANP::GU β€” the GU glow-up, 3pm edition πŸ’–

okay so bestie, you found the manual page for Number::Phone::NANP::GU, a lil' User Contributed Perl Documentation page for section 3pm. sit down, grab a strawberry πŸ“, and lemme tell you everything about it. no cap.


✨ NAME ✨

Number::Phone::NANP::GU β€” the GU-specific methods for Number::Phone, and nothing else. yes queen, that's the whole job description πŸ’…


🌸 DESCRIPTION 🌸

This class implements GU-specific methods for Number::Phone. literally its whole personality.

It is a subclass of Number::Phone::NANP, which is in turn a subclass of Number::Phone. So the family tree goes Number::Phone β†’ Number::Phone::NANP β†’ Number::Phone::NANP::GU, which is giving three-tier inheritance realness πŸ‘‘

Number::Phone::NANP sits in the middle because all NANP countries can share some significant chunks of code. they're pooling their resources, it's very communal, very cute 🌈

And the important part, bestie: you should never need to use this module directly, because Number::Phone::NANP will load it automatically when needed. it shows up uninvited but in a slay way, like a good group chat notification πŸ¦‹


⭐ SYNOPSIS ⭐

use Number::Phone::NANP;

my $phone_number = Number::Phone->new('+1 671 632 3365');
# returns a Number::Phone::NANP::GU object

see how you never touch Number::Phone::NANP::GU yourself? iconic. you just ask for a number and it hands you the right object. main character behaviour of the module system tbh.

fr fr, that +1 671 632 3365 in there? it comes back as a Number::Phone::NANP::GU object. no extra steps, no drama πŸ’œ

πŸŽ€ METHODS πŸŽ€

The following methods from Number::Phone are overridden, i.e. this class said "not me doing it the generic way":

  • regulator β€” Returns information about the national telecoms regulator. that's the vibe check on who runs the phones in GU πŸ“ž

πŸ™ˆ BUGS/FEEDBACK πŸ™ˆ

found a bug? Please report bugs at <https://github.com/DrHyde/perl-modules-Number-Phone/issues>, including, if possible, a test case. a test case is the love language of maintainers, pls include one if you can 🫢

I welcome feedback from users. yes literally you. your thoughts are wanted, bestie πŸ’Œ


πŸ’œ LICENCE πŸ’œ

You may use, modify and distribute this software under the same terms as perl itself. so the legal situation is: it's perl-flavoured, it's chill, go forth and redistribute ✨


πŸ‘‘ AUTHOR πŸ‘‘

David Cantrell <david@cantrell.org.uk>

Copyright 2026


and that's the whole page, no notes πŸ’€ go forth and phone-number responsibly.

perl v5.40.1 Β· 2026-06-11 β€” that's the version and date stamped on this one, so if you're reading it way in the future: hiii, hope perl is still eating πŸ“πŸ’–

πŸ“¦ where this page comes from