ExtUti...Comment(3pm)

πŸ’¬ NAME πŸ’¬

ok so ExtUtils::XSpp::Node::Comment β€” it's the node that represents a comment in your source file, bestie πŸŽ€


✨ DESCRIPTION ✨

so ExtUtils::XSpp::Node::Comment is a subclass of ExtUtils::XSpp::Node::Raw, and the whole vibe is: it's a lil piece of raw data that gets shoved into the output verbatim β€” no thinking, no processing β€” but with comment markers prefixed onto it. πŸ¦‹

like, this:

// This is a comment!

would become something like this:

## This is a comment!

see how it ate? the content stays literally identical, we just slapped the comment markers on the front πŸ’…


πŸ› οΈ METHODS πŸ› οΈ

🍼 new

Creates a new ExtUtils::XSpp::Node::Comment. brand new baby node, no cap πŸ‘‘

Named parameters: rows should be a reference to an array of source code comment lines. that's the only one, and yeah it's the whole point of the thing β€” hand it the lines, it hands you back a comment node 🫢


lowkey iconic, highkey just a Raw node in a comment costume πŸ’–

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

and that's the whole page bestie, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from