Pod::Readme::Types(3pm)

Pod::Readme::Types3pm

Types used by pod::readme

Usage

  use Pod::Readme::Types qw/ Indentation /;
  has verbatim_indent => (
    is      => 'ro',
    isa     => Indentation,
    default => 2,
  );

Overview

This module provides types for use with the modules in Pod::Readme.

It is intended for internal use, although some of these may be useful for writing plugins (see Pod::Readme::Plugin).

Exports

None by default. All functions must be explicitly exported.

"Indentation"

The indentation level used for verbatim text. Must be an integer greater than or equal to 2.

"HeadingLevel"

A heading level, used for plugin headings.

Must be either 1, 2 or 3. (Note that "=head4" is not allowed, since some plugins use subheadings.)

"TargetName"

A name of a target, e.g. "readme".

"Dir"

A directory. Can be a string or Path::Tiny object.

"File"

A file. Can be a string or Path::Tiny object.

"io"

An IO::Handle or IO::String object.

"ReadIO"

"WriteIO"

"IO" types, which coerce filehandles to read/write <IO:Handles>, respectively.

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9
  2. 10–13

From libpod-readme-perl 1.2.3-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.