
YAML::Tiny::Color - Dump YAML with color

version 0.03

use YAML::Tiny::Color;
say Dump({your => "data"});

This module dumps your data structure as YAML with color using ANSI escape sequences. To change the colors, see %theme in source code.

Whether to include line numbers in dumps.

Exported by default. Dump data as YAML. Die on errors.

YAML dumping code stolen from YAML::Tiny (1.51).

At the time of this writing, none of syntax highlighting libraries on CPAN support YAML. For alternatives, you might want to take a look at Python's Pygments or Ruby's coderay.

Steven Haryanto <stevenharyanto@gmail.com>

This software is copyright (c) 2012 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.