Manpage logo

YAML::PP::Highlight - Syntax highlighting utilities

NAME  SYNOPSIS  FUNCTIONS 

NAME

YAML::PP::Highlight − Syntax highlighting utilities

SYNOPSIS

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.


Updated 2026-06-01 - jenkler.se | uex.se