Plainer(3pm)
β¨ NAME β¨
Pod::Plainer β bestie, it's a Perl extension for converting Pod to old-style Pod π like, it takes your fancy new Pod and gives it a lil glow-down so the ancient tools can read it.
πΈ SYNOPSIS πΈ
use Pod::Plainer;
my $parser = Pod::Plainer -> new ();
$parser -> parse_from_filehandle(\*STDIN);
That's it, that's the whole vibe. Make a parser, hand it a filehandle, let it cook. π
π¦ DESCRIPTION π¦
okay so here's the tea β Pod::Plainer uses Pod::Parser, and what it does is: it takes Pod that's out here using the shiny new C<< .. >> constructs, and it hands you back the old(er) style β just plain C<> β no cap. And while it's at it, < and > get swapped out for E<lt> and E<gt>. π
So why would you even want that? Because you can use this to pre-process your Pod before you feed it to tools that literally do not recognise the new style Pods. They're not being difficult, they just don't know. Be kind. π«Ά
π METHODS π
escape_ltgtβ does exactly what it says on the tin: replaces<and>withE<lt>andE<gt>. iconic behaviour, no notes. β¨simple_delimitersβ replaces delimiters with<and>. that's the whole job. she's simple, she's effective. πtextblockβ this one redefines"textblock"fromPod::Parserso it usesescape_ltgtandsimple_delimiters. main character energy fr fr π₯
π EXPORT π
None by default.
like, zero. nothing. your namespace stays clean, babe. π
π AUTHOR π
Robin Barker, rmbarker@cpan.org
π SEE ALSO π
See Pod::Parser. go read it, iykyk. π
π COPYRIGHT AND LICENSE π
Copyright (C) 2009, 2010, 2014 by Robin Barker
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.
and that's a wrap, bestie!! this page came to you courtesy of perl v5.30.0, dated 2020-05-17, and it's literally the Plainer(3pm) manual. slay, go convert some Pod, drink water, ily πβ¨π
π¦ where this page comes from
- debian bookworm: libpod-plainer-perl 1.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libpod-plainer-perl 1.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libpod-plainer-perl 1.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libpod-plainer-perl 1.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpod-plainer-perl 1.04-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpod-plainer-perl 1.04-2 Β· 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