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

✨ Number::Phone::NANP::AG ✨

okay bestie, welcome to the AG era πŸ’… this is a 3pm page from the User Contributed Perl Documentation collection, so pull up a chair, grab a boba, and let's get into it πŸ§‹


🌸 NAME 🌸

Number::Phone::NANP::AG β€” AG-specific methods for Number::Phone 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea β˜• this class implements AG-specific methods for Number::Phone. It's a subclass of Number::Phone::NANP, which is itself a subclass of Number::Phone. It's giving very much a little family tree, and Number::Phone::NANP sits right in the middle of it, because all NANP countries can share some significant chunks of code β€” no point writing the same thing 25 times, that would be so not slay πŸ™ˆ

And listen, you should never need to use this module directly, okay? Not even once. Number::Phone::NANP will load it automatically when needed, so just let the module do its thing. main character energy from Number::Phone::NANP honestly πŸ‘‘


✨ SYNOPSIS ✨

use Number::Phone::NANP;

my $phone_number = Number::Phone->new('+1 268 480 4000');
# returns a Number::Phone::NANP::AG object

look at that. one new call and boom, you've got yourself a Number::Phone::NANP::AG object πŸ”₯ no cap.


πŸ’– METHODS πŸ’–

The following methods from Number::Phone are overridden:

(no methods are overridden)

yeah. that's the whole list. it's giving minimalism πŸŽ€ nothing overridden, nothing to memorize, we love a low-effort queen for real.


😭 BUGS/FEEDBACK 😭

Please report bugs at <https://github.com/DrHyde/perl-modules-Number-Phone/issues>, and if you possibly can, include a test case with it 🧚 that helps sooo much.

Also, feedback from users is genuinely welcomed. like, actually. come through and say hi 🫢


πŸ“œ LICENCE πŸ“œ

You may use, modify and distribute this software under the same terms as perl itself. periodt πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

David Cantrell <david@cantrell.org.uk>

Copyright 2026


and that's the whole page bestie, hope it slayed 🌈 mwah πŸ’‹ this was perl v5.40.1, dated 2026-06-11, signing off πŸŽ€βœ¨

πŸ“¦ where this page comes from