![]() |
![]()
| ![]() |
![]()
NAMEYAML::Tiny::Color - Dump YAML with color VERSIONThis document describes version 0.04 of YAML::Tiny::Color (from Perl distribution YAML-Tiny-Color), released on 2014-06-30. SYNOPSISuse YAML::Tiny::Color; say Dump({your => "data"}); DESCRIPTIONThis module dumps your data structure as YAML with color using ANSI escape sequences. To change the colors, see %theme in source code. VARIABLES$YAML::Tiny::Color::LineNumber => BOOL (default: 0)Whether to include line numbers in dumps. FUNCTIONSDumpExported by default. Dump data as YAML. Die on errors. FAQWhat about loading?Use other modules like YAML::Tiny, YAML::Syck, YAML::XS. ACKNOWLEDGEMENTSYAML dumping code stolen from YAML::Tiny (1.51). SEE ALSOJSON::Color 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. HOMEPAGEPlease visit the project's homepage at <https://metacpan.org/release/YAML-Tiny-Color>. SOURCESource repository is at <https://github.com/sharyanto/perl-YAML-Tiny-Color>. BUGSPlease report any bugs or feature requests on the bugtracker website <https://rt.cpan.org/Public/Dist/Display.html?Name=YAML-Tiny-Color> When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. AUTHORSteven Haryanto <stevenharyanto@gmail.com> COPYRIGHT AND LICENSEThis software is copyright (c) 2014 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.
|