Pod::Si...mpAsXML(3pm)
π NAME
okay so bestie, meet Pod::Simple::DumpAsXML β it literally turns Pod into XML. that's the whole vibe. periodt.
(this beauty lives in the Perl Programmers Reference Guide, and yes the page header is out here lookin like Pod::Si...mpAsXML(3pm) because even manpage titles need a little mystery β¨)
π SYNOPSIS
perl -MPod::Simple::DumpAsXML -e \
"exit Pod::Simple::DumpAsXML->filter(shift)->any_errata_seen" \
thingy.pod
that's it. that's the whole run. filter(shift) go brr, any_errata_seen gives you your exit status, iconic behaviour only π₯
πΈ DESCRIPTION
so Pod::Simple::DumpAsXML is a subclass of Pod::Simple β like, it inherits the whole personality β and what it does is parse Pod and turn it into indented and wrapped XML. cute little XML. all cozy and formatted. π
who's this for? honestly, it's for the girlies writing Pod formatters based on Pod::Simple. if that's you, hi bestie, this class is of interest to you. genuinely.
also real talk: Pod::Simple::DumpAsXML inherits methods from Pod::Simple. all of them. it's giving nepo baby but in the good way π
π¦ SEE ALSO
Pod::Simple::XMLOutStreamβ lowkey the same vibe as this class, ngl. its output is space-padded in a way that's better for sending to an XML processor (that is, it has no ignorable whitespace). meanwhilePod::Simple::DumpAsXML's output is much more human-readable β it's (more-or-less) one token per line, with line-wrapping. so likeβ¦ choose your fighter π«ΆPod::Simple::DumpAsTextβ also rather like this class, except it doesn't dump with XML syntax. try them and see which one you like best! no wrong answers, just different eras βPod::Simple,Pod::Simple::DumpAsXMLβ shoutout to itself, we love self-referential queens π- the older libraries
Pod::PXML,Pod::XML,Pod::SAXβ the elders. respect them. π
π SUPPORT
got questions? got discourse? questions or discussion about POD and Pod::Simple should be sent to the mail list pod-people@perl.org. and to subscribe, just send an empty email to pod-people-subscribe@perl.org. empty. nothing. a blank little ghost message π»π«Ά
this module is managed in an open GitHub repository β <https://github.com/perl-pod/pod-simple/>. feel free to fork and contribute, or to clone <https://github.com/perl-pod/pod-simple.git> and send patches! it's giving open source main character energy π
patches against Pod::Simple are welcome, fr fr. please send bug reports to <bug-pod-simple@rt.cpan.org>. we'll love you for it π
π 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. slay.
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. so likeβ¦ no promises, bestie, we're all just vibing π
π§ AUTHOR
Pod::Simple was created by Sean M. Burke <sburke@cpan.org>. but don't bother him, he's retired. respectfully, let the man rest ππ€
Pod::Simple is maintained by:
- Allison Randal
"allison@perl.org" - Hans Dieter Pearcey
"hdp@cpan.org" - David E. Wheeler
"dwheeler@cpan.org"
ok that's the whole page, you ate that π stay hydrated, read your Pod, and remember: this wasperl v5.42.3dated2026-11-03, drop date of the future, and yes the footer still saysPod::Si...mpAsXML(3pm)because the mystery never ends β¨π π
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms