GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  YAML::TINY::COLOR (3)

.ds Aq ’

NAME

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

CONTENTS

VERSION

This document describes version 0.04 of YAML::Tiny::Color (from Perl distribution YAML-Tiny-Color), released on 2014-06-30.

SYNOPSIS



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



DESCRIPTION

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

VARIABLES

CW$YAML::Tiny::Color::LineNumber => BOOL (default: 0)

Whether to include line numbers in dumps.

FUNCTIONS

    Dump

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

FAQ

    What about loading?

Use other modules like YAML::Tiny, YAML::Syck, YAML::XS.

ACKNOWLEDGEMENTS

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

SEE ALSO

JSON::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.

HOMEPAGE

Please visit the project’s homepage at <https://metacpan.org/release/YAML-Tiny-Color>.

SOURCE

Source repository is at <https://github.com/sharyanto/perl-YAML-Tiny-Color>.

BUGS

Please 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.

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 YAML::TINY::COLOR (3) 2014-06-30

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.