Pod::S...pAsXML(3perl)
β¨ NAME β¨
okay so bestie, welcome to Pod::Simple::DumpAsXML β it's giving turn Pod into XML π
and it's literally the main character of this whole page (which is Pod::S...pAsXML(3perl) from the Perl Programmers Reference Guide, if you were wondering π«Ά).
πΈ SYNOPSIS πΈ
perl -MPod::Simple::DumpAsXML -e \
"exit Pod::Simple::DumpAsXML->filter(shift)->any_errata_seen" \
thingy.pod
likeβ¦ that's the whole vibe. one-liner. slay. β¨
π¦ DESCRIPTION π¦
okay so Pod::Simple::DumpAsXML is a subclass of Pod::Simple β yes, lowercase "subclass", we love an inheritance moment π β and what it does is: it parses Pod and turns it into indented and wrapped XML. no cap.
who is this for, you ask? it's for the people writing Pod formatters based on Pod::Simple. iykyk. if that's you, hi, this class is literally for you π
also important, bestie: Pod::Simple::DumpAsXML inherits methods from Pod::Simple. so all the ancestral method lore comes with it π§
π₯ SEE ALSO π₯
Pod::Simple::XMLOutStreamis rather like this class. the way that its output is space-padded in a way that's better for sending to an XML processor β meaning it has no ignorable whitespace, periodt. butPod::Simple::DumpAsXML's output is way more human-readable, being (more-or-less) one token per line, with line-wrapping. so likeβ¦ pick your fighter, honestly.Pod::Simple::DumpAsTextis also rather like this class, except that it doesn't dump with XML syntax. try them and see which one you like best! no wrong answers fr fr πPod::Simple,Pod::Simple::DumpAsXML- the older libraries:
Pod::PXML,Pod::XML,Pod::SAXβ vintage icons, we respect them π
π SUPPORT π
questions or discussion about POD and Pod::Simple? send them to the mail list pod-people@perl.org π¬ and if you wanna subscribe, just send an empty email to pod-people-subscribe@perl.org. that's it, that's the whole ritual β¨
this module is managed in an open GitHub repository: <https://github.com/perl-pod/pod-simple/>. feel free to fork and contribute, or clone <https://github.com/perl-pod/pod-simple.git> and send patches! π«Ά
patches against Pod::Simple are welcome. please send bug reports to <bug-pod-simple@rt.cpan.org> π
π COPYRIGHT AND DISCLAIMERS π
copyright (c) 2002 Sean M. Burke.
this library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
this program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. (yes that's the legal drama, we keep it verbatim, it's iconic π)
π AUTHOR π
Pod::Simple was created by Sean M. Burke <sburke@cpan.org>. but don't bother him, he's retired π (he said what he said, and honestly, good for him)
Pod::Simple is maintained by:
- Allison Randal
"allison@perl.org" - Hans Dieter Pearcey
"hdp@cpan.org" - David E. Wheeler
"dwheeler@cpan.org"
absolute legends, every single one π
and that's a wrap bestie!! this page was served up by perl v5.44.0 on 2026-10-17 β¨ go parse some Pod, you got this πΈπ¦π
π¦ 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