YAML::PP::Highlight(3) | User Contributed Perl Documentation | YAML::PP::Highlight(3) |
YAML::PP::Highlight - Syntax highlighting utilities
use YAML::PP::Highlight qw/ Dump /; my $highlighted = Dump $data;
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.
2020-09-10 | perl v5.34.0 |