TKPOD(1p)

πŸ“¦
version 0.9943 Β· 2 versions
  • 0.9943 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.9943 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

okay so bestie, tkpod β€” it's a Perl/Tk Pod browser. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

tkpod   [-tk] [[-no]tree] [-Mblib] [-I dir] [-d|debug] [-s|server]
        [-filedialog module]
        [-f function | -q FAQRegex | directory | name [...]]

πŸ¦‹ DESCRIPTION πŸ¦‹

tkpod is a simple Pod browser with hypertext capabilities, no cap. Pod (Plain Old Document) is a simple and readable markup language that could be mixed with perl code. it's giving "docs but make them cute". ✨

Pods are searched by default in @INC and $ENV{PATH}. Directories listed on the command line or with the -I option get added to the default search path. periodt.

For each name listed on the command line, tkpod tries to find Pod in name, name.pod and name.pm in the search path. For each name a new Pod browser window is opened. one name, one window, that's the rule. πŸͺŸ

If no name is listed, then the main perl pod is opened instead. iconic default behaviour honestly.


πŸ‘‘ OPTIONS πŸ‘‘

  • -tree β€” when specified, tkpod will show a tree window with all available Pods on the local host. however, this may be slow on startup, especially first time because there is no cache yet 😭. you can always turn on the tree view with the menu entry 'View' -> 'Pod Tree'. so if it's laggy, don't panic, it's just vibing without a cache.
  • -tk β€” useful for perl/Tk documentation. when specified it adds all Tk subdirectories in @INC to the Pod search path. this way when Scrolled is selected in the browser, the Tk/Scrolled documentation is found. slay, path resolution.
  • -s or -server β€” start tkpod in server mode. subsequent calls to tkpod (without the -s option) will cause it to load the requested Pods into the server program, thus minimizing startup time and memory usage. πŸ’…
⚠️ note that there is no access control, so this might be a security hole! bestie, please be careful with this one, fr fr.
  • -Mblib β€” add the blib directories under the current directory to the Pod search path.
  • -I dir β€” add another directory to the Pod search path. note that the space is mandatory. yes, the space matters, don't skip it.
  • -f function β€” show documentation for function.
  • -q FAQRegex β€” show the FAQ entry matching FAQRegex.
  • -filedialog module β€” use an alternative file dialog module, e.g. Tk::FileSelect, Tk::FBox or Tk::PathEntry::Dialog. pick your fighter. πŸ₯Š
  • -d or -debug β€” turn debugging on.
  • -exit β€” only for internal testing: exit before entering MainLoop.

🌸 USAGE 🌸

how to navigate with the Pod browser is described in Tk::Pod_usage. it's also accessible via the menu 'Help' -> 'Usage...'. iykyk, but if you don't know, the Help menu has your back. 🫢


🌈 ENVIRONMENT 🌈

  • TKPODPORT β€” force a port for tkpod's server mode.
  • TKPODDIRS β€” a list of directories (on Unix usually separated by :, on Windows by ;) for additional Pod directories. these directories will appear in the local dirs section of the tree view. ✨

see Environment in Tk::Pod::Text and Environment in Tk::Pod::FindPods for more environment variables.


πŸ’€ KNOWN BUGS πŸ’€

see Tk::Pod::Text. (yes, that's it, that's the whole section, go read it bestie πŸ™ˆ)


⭐ SEE ALSO ⭐

perlpod pod2man pod2text pod2html Tk::Pod Tk::Pod::Text Tk::Pod::Tree


πŸ’œ AUTHOR πŸ’œ

Nick Ing-Simmons <nick@ni-s.u-net.com>

Former maintainer: Achim Bohnet <ach@mpe.mpg.de>.

Code currently maintained by Slaven Rezic <slaven@rezic.de>.

Copyright (c) 1997-1998 Nick Ing-Simmons. Copyright (c) 2015 Slaven Rezic. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


okay bestie that's the whole page, mwah πŸ’…βœ¨ this was perl v5.34.0, dated 2022-06-28 β€” go forth and browse your pods, you absolute main character πŸŽ€πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from