Pod::Perldoc::ToTerm(3perl)

Pod::Perldoc::ToTerm3perl

Render pod with terminal escapes

Usage

  perldoc -o term Some::Modulename

Overview

This is a "plug-in" class that allows Perldoc to use Pod::Text as a formatter class.

It supports the following options, which are explained in Pod::Text: alt, indent, loose, quotes, sentence, width

For example:

  perldoc -o term -w indent:5 Some::Modulename

Pager formatting

Depending on the platform, and because this class emits terminal escapes it will attempt to set the "-R" flag on your pager by injecting the flag into your environment variable for "less" or "more".

On Windows and DOS, this class will not modify any environment variables.

Caveat

This module may change to use a different text formatter class in the future, and this may change what options are supported.

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

Author

Mark Allen "<[email protected]>"

From perl 5.44.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.