Pod_usage(3pm)
π NAME π
Tk::Pod_usage β the whole entire tea on how to use the perl/Tk Pod browser widget, bestie π«Ά
β¨ DESCRIPTION β¨
okay so if you wanna navigate through the documentation, here's literally everything you can do π
π¦ Hyperlinks
Click on a hyperlink and it shows you the corresponding Pod documentation (if there is any, fr) in the same window. An URL? It gets displayed in a web browser π. A man page? It gets displayed in a man viewer (if one is available).
With <Button-2> the documentation is loaded into a new window β and <Shift-Button-1> works too, for the girlies with only a 2 button mouse π
πΈ Selection
A double click tries to load the documentation for the selected word in the same window.
If the "Shift" key is simultaneously pressed, a new browser window is opened. main character energy honestly π
π Key bindings
The Tk::Pod::Text widget is based on the Tk::More widget, inheriting its key bindings. iykyk π§
π Search
Pressing <Key-/> lets you search in the displayed documentation. so handy, no cap β¨
β Section Menu
The Section Menu
The 'Section' menu allows one to directly jump to the start of a section in the documentation. no more scrolling bestie, we love to see it π
π₯ Action Menu
If you press the right mouse button you get a popup menu that allows:
- Back β in history of displayed documentation
- Forward β in history of displayed documentation
- Reload β the documentation
- Edit Pod β start editor with source of the displayed document. The used editor is selected by the first definition of the environment variables
"TKPODEDITOR","XEDITOR","VISUAL","EDITOR"or as default/usr/bin/vi. If no terminal is available (or on Windows platforms), theptkededitor (bundled with Perl/Tk) will be used instead. See also the menu entries'File'->'Edit'and'File'->'Edit with ptked'. - Search fulltext β full text search of the Pod in the perl library directories. (Note: to use it one has to install the
perlindexdistribution and build an index for the perl documentation, seeText::English)
The remaining menu entries are the same as in normal "Text" widgets. periodt π
π Tree view
You can toggle the tree view of all installed modules on or off with the 'View' -> 'Pod Tree' menu entry. The tree view is organized in three sections: Perl language (general documentation about Perl), Pragmata, and Modules. The labels in the tree are colored, where green means "standard module which comes with the Perl core distribution", red means "locally installed module, probably from CPAN", and grey means "no module available, look at the subtree".
The tree data is cached in a temporary directory on a per-perl-version and per-user basis. A reload can be forced with the Reload entry in the action menu of the tree view. With the Search entry a search in the tree can be performed. The Show modules at CPAN entry is highly experimental β you can download, extract and look at the documentation of all CPAN modules ππ₯
π SEE ALSO π
tkpod, perlpod, pod2man, pod2text, pod2html, Tk::Pod, Tk::Pod::Text, Tk::Pod::Tree, Tk::More, Text::English.
π KEYWORDS π
pod, browser, tk, hypertext
π«Ά AUTHOR π«Ά
Achim Bohnet <ach@mpe.mpg.de>
Current maintainer is Slaven Rezic <slaven@rezic.de>
Copyright (c) 1997-1998 Achim Bohnet. All rights reserved. This documentation is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
okay that's the whole page bestie, we ate and left no crumbs π this was perl v5.34.0, dated 2022-06-28, and that's on Pod_usage(3pm) β slay, bye π
β¨
π¦ where this page comes from
- debian bookworm: libtk-pod-perl 0.9943-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libtk-pod-perl 0.9943-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libtk-pod-perl 0.9943-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtk-pod-perl 0.9943-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtk-pod-perl 0.9943-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