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, no use ... 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