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

πŸ’– Number::Phone::NANP::TT πŸ’–

okay so bestie, you've stumbled into Number::Phone::NANP::TT β€” the Trinidad & Tobago glow-up for Number::Phone, straight out of the User Contributed Perl Documentation. yes, it's a 3pm page. no, it's not boring, i promise. πŸ¦‹


✨ NAME ✨

Number::Phone::NANP::TT β€” the TT-specific methods for Number::Phone, like, exactly what it says on the tin. no cap. πŸ’…


🌸 DESCRIPTION 🌸

This class implements TT-specific methods for Number::Phone. it's giving subclass energy: it's a subclass of Number::Phone::NANP, which is itself a subclass of Number::Phone. so it's a whole lil family tree. 🌈

so why is Number::Phone::NANP sitting in the middle like the main character? because literally all NANP countries can share some significant chunks of code β€” that's the whole point, code reuse, we love to see it. πŸ‘‘

and here's the tea: you should never need to use this module directly. Number::Phone::NANP will load it automatically when needed. so don't come for it, it'll come for you. πŸ™ˆ


🌟 SYNOPSIS 🌟

use Number::Phone::NANP;

my $phone_number = Number::Phone->new('+1 868 624 6982');
# returns a Number::Phone::NANP::TT object

look at that. one new, and boom β€” you got yourself a Number::Phone::NANP::TT object. iconic behaviour fr fr ✨


πŸ’… METHODS πŸ’…

The following methods from Number::Phone are overridden:

  • regulator β€” Returns information about the national telecoms regulator. that's the vibe check authority for this country, she's the one in charge of the phones over there πŸ“žπŸ’œ

πŸŽ€ BUGS/FEEDBACK πŸŽ€

Please report bugs at <https://github.com/DrHyde/perl-modules-Number-Phone/issues>, including, if possible, a test case. (bestie, a test case is so appreciated, it's literally the love language of maintainers 🫢)

I welcome feedback from users. yes, YOU. your feedback is welcome. don't be shy 🌸


⭐ LICENCE ⭐

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


πŸ‘‘ AUTHOR πŸ‘‘

David Cantrell <david@cantrell.org.uk>

Copyright 2026


lowkey reminder: this page came with perl v5.40.1, dated 2026-06-11, and it's filed under Number...ANP::TT(3pm) in the User Contributed Perl Documentation. that's a wrap, mwah πŸ’‹βœ¨πŸ¦‹
πŸ“¦ where this page comes from