YAML::PP::Highlight(3pm)

YAML::PP::Highlight3pm

Syntax highlighting utilities

Usage

    use YAML::PP::Highlight qw/ Dump /;
    my $highlighted = Dump $data;

Functions

Dump
    use YAML::PP::Highlight qw/ Dump /;
    my $highlighted = Dump $data;
    my $highlighted = Dump @docs;

It will dump the given data, and then parse it again to create tokens, which are then highlighted with ansi colors.

The return value is ansi colored YAML.

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

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