CodeText::Pod(3pm)
π CodeText::Pod β bestie edition π
okay so this is CodeText::Pod(3pm), from the User Contributed Perl Documentation corner of the manual-verse β¨
πΈ NAME πΈ
Tk::CodeText::Pod β a Plugin for syntax highlighting of pod files. that's it, that's the vibe π
π SYNOPSIS π
require Tk::CodeText::Pod;
my $sh = new Tk::CodeText::Pod([
['Text'],
['Bold', -font => [-weight => 'bold']],
['Italic', -font => [-slant => 'italic']],
['Exact', -foreground => 'brown'],
['Command', -foreground => 'orange'],
['Space', -background => 'beige'],
['Tab', -background => 'pale green'],
]);
look at that array. look at those tag definitions. we're literally just lining up styling and letting the plugin cook π copy it exactly, no cap.
β¨ DESCRIPTION β¨
Tk::CodeText::Pod is a plugin module β and the way that it provides syntax highlighting for pod files to a Tk::CodeText text widget?? iconic, honestly. π
It inherits Tk::CodeText::Template. See also there π (yes bestie, go read that one too, it's giving family tree).
π¦ METHODS π¦
highlight($string);β returns a list of string snippets and tags that can be inserted in aTk::Textlike widget instantly. like, zero delay, immediate slay π₯syntaxβ returns'Pod'. that's it. that's the whole method. and honestly? she ate. π
π AUTHOR π
Hans Jeuken (haje@toneel.demon.nl)
shoutout to Hans, the original main character of this file π«Ά
π BUGS π
Unknown
which is either a flex or a mystery and honestly bestie, it's giving both π
π SEE ALSO π
Tk::CodeText::Template β mentioned up in DESCRIPTION, and we do not leave a reference hanging around here. go check it out β¨
and that's the whole page, bestie!! no notes, no crumbs, full information preserved, periodt π πβ
this was CodeText::Pod(3pm) from perl v5.40.1, dated 2025-05-04 β thanks for reading the whole thing, you're a real one πππ¦
π¦ where this page comes from
- debian trixie: libtk-codetext-perl 0.3.4-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtk-codetext-perl 0.3.4-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtk-codetext-perl 0.3.4-3 Β· 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