The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::Linear::Path::Colors - color schemes to render HTML::Linear::Path

VERSION

version 0.019

SYNOPSIS

    use HTML::Linear::Path;
    use HTML::Linear::Path::Colors;

    (%HTML::Linear::Path::xpath_wrap) = (%{$HTML::Linear::Path::Colors::scheme{terminal}})

DESCRIPTION

Pre-defined stuff for the fancy XPath highlights.

FUNCTIONS

wrap_xpath($xpath)

Wraps $xpath with HTML. Returns wrapped $xpath.

wrap_content($content, $html)

Wraps $content with ANSI colors or HTML if $html flag is true. Returns wrapped $content.

GLOBALS

%HTML::Linear::Path::Colors::scheme

  • default - empty

  • terminal - ANSI colors

  • html - HTML markup re-wrapper

@HTML::Linear::Path::Colors::html

Default HTML header/footer.

AUTHOR

Stanislaw Pusep <stas@sysd.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Stanislaw Pusep.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.