YAML::P...ighlight(3)

🌸 NAME 🌸

Okay bestie, so YAML::PP::Highlight is literally the syntax highlighting utilities module β€” that's the whole vibe. You'll see it filed under YAML::P...ighlight(3) in the User Contributed Perl Documentation. πŸ’…


✨ 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. Periodt. ✨


🧚 cute little sign-off 🧚 β€” this page is from the User Contributed Perl Documentation, served up by perl v5.42.0, dated 2026-04-24, for YAML::P...ighlight(3). bye bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from