ExtUti...stants(3perl)
β¨ NAME β¨
ExtUtils::ParseXS::Constants β bestie, it's literally just the initialization values for some globals π (it lives in the perl manual, section 3perl, iykyk)
π SYNOPSIS π
okay so here's the whole vibe in two lines, no cap:
use ExtUtils::ParseXS::Constants ();
$PrototypeRegexp = $ExtUtils::ParseXS::Constants::PrototypeRegexp;
see how there's literally nothing in the parentheses? that's not a typo bestie, that's the whole point π«Ά
π DESCRIPTION π
so the tea is: certain non-subroutine variables over in ExtUtils::ParseXS and a few of its supporting packages used to just... live wherever. and now they've been moved into this package instead β¨
why tho? because the way that these values kept getting defined in multiple places was giving messy. moving them here means they get defined exactly once and then can be re-used in any package that wants them. iconic behavior honestly, define once, slay everywhere π
π¨ IMPORTANT, do not skip this part: Nothing is exported. Not a single thing. So don't come at it with an import list, it will not work. You use fully qualified variable names, periodt. Like$ExtUtils::ParseXS::Constants::PrototypeRegexpβ the whole entire path, every time. No shortcuts, nouse ... qw(...), nope. π
πΈ SEE ALSO πΈ
hmm, lowkey there aren't any SEE ALSO entries on this one bestie β this page is tiny and it knows it, and honestly? it's thriving π¦
and that's the page!! short, sweet, and fully qualified π this was perl v5.44.0, dated 2026-10-17, from the ExtUtils::ParseXS::Constants manual in section 3perl β mwah, take care of her, she's doing her best πβ¨
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND 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