YAML::PP::Highlight(3) User Contributed Perl Documentation YAML::PP::Highlight(3)

# [NAME](#NAME)

YAML::PP::Highlight - Syntax highlighting utilities

# [SYNOPSIS](#SYNOPSIS)

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

# [FUNCTIONS](#FUNCTIONS)

[Dump](#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.

2026-10-13 perl v5.44.0

---

Document: YAML::PP::Highlight(3pm) from perl-yaml-pp 0.43.0-r0 (Chainguard OS)
Source: https://github.com/perlpunk/YAML-PP-p5.git
