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
- ubuntu stonking: libnumber-phone-perl 4.0011-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms