Number...ANP::SX(3pm)
π Number::Phone::NANP::SX β the manual, but make it cute β¨
okay so bestie, you've stumbled into Number::Phone::NANP::SX, which lives in the Perl docs under the manual name Number...ANP::SX(3pm). it's giving niche, it's giving phone numbers, it's giving honestly kind of adorable. let's get into it π
πΈ NAME πΈ
Number::Phone::NANP::SX β the SX-specific methods for Number::Phone. yes that's it, that's the whole name, short and iconic π
π¦ DESCRIPTION π¦
so here's the tea, bestie. this class implements the SX-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 whole family tree tho? because Number::Phone::NANP sits right in the middle, and the reason is lowkey genius β all NANP countries can share some significant chunks of code, so the middle layer holds all the shared stuff. sad that nobody else gets to reuse it, but here we are π
and the big one: you should never need to use this module directly, like ever. because Number::Phone::NANP will load it automatically when needed. so bestie, please don't do it manually, let the code cook π«Ά no cap.
β¨ SYNOPSIS β¨
here's the vibe, copy-paste ready:
use Number::Phone::NANP;
my $phone_number = Number::Phone->new('+1 721 555 0001');
# returns a Number::Phone::NANP::SX object
see how that works? you ask for a number, and the # returns a Number::Phone::NANP::SX object line is doing the heavy lifting β that's the part where the middle layer quietly loads this module and hands you back an SX object. main character energy honestly π
π METHODS π
the following methods from Number::Phone are overridden:
(no methods are overridden)
...and yes, that's the whole list. not me writing an entire section for absolutely nothing π an empty list is still a list, periodt. so if you came here looking for overridden methods, there are none, and that's the complete, official answer. slay.
π BUGS/FEEDBACK π
found a bug? first of all, thank you for your service π«‘ please report bugs at:
<https://github.com/DrHyde/perl-modules-Number-Phone/issues>
and if you possibly can, include a test case β that's the gold standard, the chef's kiss, the thing that makes maintainers swoon π
also: I welcome feedback from users. so like, genuinely, come say hi, the author wants to hear from you π₯
π LICENCE π
you may use, modify and distribute this software under the same terms as perl itself. free to remix, bestie, just keep the same energy π
π AUTHOR π
David Cantrell <david@cantrell.org.uk>
Copyright 2026
fr fr, that's the whole page. nothing hidden, nothing skipped, every last detail accounted for πΈ
and finally, the cute sign-off: this lil doc comes from perl v5.40.1, dated 2026-06-11, and its proper footer title is Number...ANP::SX(3pm) β like, that's literally the whole thing, we ate and left no crumbs β¨π¦π
π¦ 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