other versions
- Tumbleweed 0.39.0-1.3
- Leap-16.0
- Leap-15.6
| YAML::PP::Highlight(3) | User Contributed Perl Documentation | YAML::PP::Highlight(3) |
NAME¶
YAML::PP::Highlight - Syntax highlighting utilities
SYNOPSIS¶
use YAML::PP::Highlight qw/ Dump /;
my $highlighted = Dump $data;
FUNCTIONS¶
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.
| 2025-02-10 | perl v5.42.0 |