PPI::Token::Pod(3)
β¨ PPI::Token::Pod β¨
okay so bestie, welcome to the PPI::Token::Pod page β that's section 3 of the User Contributed Perl Documentation, iykyk π
. It's a tiny little module with a huge job, and honestly? It ate.
πΈ NAME πΈ
PPI::Token::Pod β Sections of POD in Perl documents π
π¦ INHERITANCE π¦
The family tree, and yes it's giving royal lineage π:
PPI::Token::Pod
isa PPI::Token
isa PPI::Element
π DESCRIPTION π
So here's the vibe: one single PPI::Token::Pod object represents a complete section of POD documentation inside a Perl document. That's it. That's the whole personality. One token, one whole POD block, no cap. π«Ά
π METHODS π
Not me pulling up extra methods β this class serves up some bonus methods <em>on top of</em> the ones its PPI::Token and PPI::Element parent classes already hand over. Generous queen. π
π merge @podtokens
The merge constructor takes a bunch of PPI::Token::Pod objects and returns a brand-new object that represents one combined POD block made from the content of all of them. Glow-up via fusion fr fr. β¨
It returns a new PPI::Token::Pod object, or undef on error. (Yeah, it can fail. Respect the undef.) π
π§ lines
The lines method takes the string of POD and breaks it into lines, handing them back to you as a list. Chop chop, one line at a time. π
π SUPPORT π
See the support section in the main module. (Yes, that's the whole thing. Go check the main module, bestie.)
π AUTHOR π
Adam Kennedy <adamk@cpan.org> β iconic, we stan. π
β COPYRIGHT β
Copyright 2001 - 2011 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
and that's the whole page, periodt π«Ά this was documented for perl v5.42.0 and stamped 2026-01-17 β so if you're reading this way later, hi, hope the POD still slays πΈβ¨π
π¦ where this page comes from
- fedora 44: perl-PPI 1.284-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms