ExtUti...Module(3pm)

πŸ’– NAME πŸ’–

ExtUtils::XSpp::Node::Module β€” the node bestie that reps an XS++/XS MODULE declaration πŸ‘‘

so like, you're reading the ExtUti...Module(3pm) page from the perl man pages (section 3pm, obvs) and it's about exactly one lil node class. slay.


✨ DESCRIPTION ✨

okay so ExtUtils::XSpp::Node::Module is a subclass of ExtUtils::XSpp::Node and its whole ~thing~ is representing a module declaration. no cap.

like, watch this. this XS++ right here:

%module{Some::Perl::Namespace}

would turn into this XS:

MODULE=Some::Perl::Namespace

ate and left no crumbs πŸ’…

also peep ExtUtils::XSpp::Node::Package if you wanna know more πŸ‘€

in a nutshell (and bestie, it's giving nutshell fr fr): the module your XS++/XS code belongs to is the main Perl package of your wrapper. a single module can β€” and usually literally does β€” have several packages (respectively C++ classes). so cute, so modular πŸ¦‹


🌸 METHODS 🌸

⭐ new

creates a brand new ExtUtils::XSpp::Node::Module for you. icon behavior.

named parameters:

  • module β€” says what the name of the module is πŸŽ€

🫢 ACCESSORS 🫢

πŸ’œ module

returns the name of the module. that's it, that's the whole job, and honestly? obsessed.


perl v5.40.1 Β· 2026-07-03 Β· User Contributed Perl Documentation

and that's a wrap bestie πŸ’– this page was served to you fresh on 2026-07-03 by perl v5.40.1, courtesy of the User Contributed Perl Documentation girlies. go forth and declare your modules, periodt 🌈✨

πŸ“¦ where this page comes from