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