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

πŸ’– NAME πŸ’–

Number::Phone::NANP::TC β€” the TC-specific methods for Number::Phone, bestie πŸ’…


🌸 DESCRIPTION 🌸

Okay so, this class right here is the one that implements all the TC-specific methods for Number::Phone. It's a subclass of Number::Phone::NANP, and that one 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 family reunion, it's giving shared trauma, it's giving DRY principles ✨

And listen β€” you should never need to use this module directly, fr fr. Number::Phone::NANP will load it automatically whenever it needs it. It's like your mom packing your lunch, you don't have to ask, it just happens 🫢


πŸŽ€ SYNOPSIS πŸŽ€

use Number::Phone::NANP;

my $phone_number = Number::Phone->new('+1 649 946 5231');
# returns a Number::Phone::NANP::TC object

Look at that glow-up ✨ you feed it a number, you get back a Number::Phone::NANP::TC object. Iconic behaviour, no notes.


πŸ’… METHODS πŸ’…

The following methods from Number::Phone are overridden:

(no methods are overridden)

Not a single one, bestie. Zero. Zilch. The void. It said "I'm gonna be a subclass and contribute NOTHING" and honestly? Main character energy 😭 The parent class handles everything, this one's just here for the vibes πŸ‘‘


πŸ¦‹ BUGS/FEEDBACK πŸ¦‹

Found a bug? Spill the tea here, please and thank you:

And if you can, drop a test case in there too β€” that's the chef's kiss of bug reports πŸ“ It makes everyone's life so much easier and we love you for it.

Also, genuinely, user feedback is welcome. So welcome. Come say hi πŸ’œ


⭐ LICENCE ⭐

You may use, modify and distribute this software under the same terms as perl itself. Do what you want with it, it's yours πŸŽ€


πŸ‘‘ AUTHOR πŸ‘‘

David Cantrell <david@cantrell.org.uk>

Copyright 2026


and that's the whole page, bestie!! 🩷 it's perl v5.40.1, dated 2026-06-11, and it lives in the User Contributed Perl Documentation corner of the world β€” go forth and phone-number responsibly, ily πŸ’–βœ¨πŸŒˆ

πŸ“¦ where this page comes from