Syntax::POD(3pm)
π Syntax::POD π
okay bestie, gather round, because we're talking about Embperl::Syntax::POD β the little icon that takes your Perl POD files and turns them into XML on the fly. it lives in the User Contributed Perl Documentation corner of the manual, and honestly? it's giving backstage-pass energy. π
β¨ SYNOPSIS β¨
no cap, there's literally nothing here in the original. the synopsis is an empty room and we're all just vibing in it. π
πΈ DESCRIPTION πΈ
so this class is derived from Embperl::Syntax, and what it does is convert Perl Plain Old Documentation (POD) files on the fly into XML. like, mid-read. no pre-processing era, we're doing it live. π¦
it's used for generating the Embperl online documentation from the Embperl POD files. if you wanna see how to actually use it, peek at the eg directory in the distribution β there's an example waiting for you there like a little gift. π
π TODO π
bestie. the documentation of the resulting XML format... still has to be written. that's it. that's the todo. it's giving unfinished homework and we're all just pretending we don't see it. π
π Methods π
Embperl::Syntax::POD defines the following methods:
π
Embperl::Syntax::POD -> new / $self -> new
create a new syntax class. β¨
heads up: this method should only be called inside a constructor of a derived class. don't be out here calling it wherever, iykyk. π βοΈ
π
AddPODCmd ($cmdname, $procinfo)
add a new POD command with name $cmdname and use processor info from $procinfo. π
see Embperl::Syntax for a definition of procinfo.
π
AddPODCmdStartEnd ($cmdname, $endname, $procinfo)
add a new POD command with name $cmdname and use processor info from $procinfo. π
additionally, you specify that a matching $endname POD command must be found to end the block that is started by this POD command. so it's a two-part situation β one command opens the vibe, the other one closes it. periodt. π₯
see Embperl::Syntax for a definition of procinfo.
π Author π
G. Richter (richter at embperl dot org) β the main character who wrote all this. π
π«Ά See Also π«Ά
Embperl::Syntax
and that's the whole page, bestie!! π this little gem ships as part of perl v5.34.0, dated 2022-02-06 β so yeah, it's been slaying since way back. go forth and convert that POD to XML, you absolute legend. π§ββοΈβπ
π¦ where this page comes from
- ubuntu jammy: libembperl-perl 2.5.0-16build1 Β· Artistic-1.0-Perl OR 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