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

NAME

Warn::Colorful - Perl extention to color warning messages.

VERSION

This document describes Warn::Colorful version 0.01.

SYNOPSIS

    use Warn::Colorful (
        base => 'blue',
        body => 'red',
    );

    warn 'hello';

or

    echo "base=blue" > ~/.warn-colorful
    perl -MWarn::Colorful foo.pl

DESCRIPTION

Colourful warning messages would give you a readability and free from stress.

CONFIGURATION

  • keys

    • base

      Default for other keys. Its default is blue.

    • body

      Color for message body.

    • file

      Color for filename.

    • line

      Color for line number.

  • values

    name of ANSI Colors.

SEE ALSO

Term::ANSIColor

AUTHOR

NAGATA Hiroaki <handlename> <handle _at_ cpan _dot_ org>

LICENSE AND COPYRIGHT

Copyright (c) 2013, NAGATA Hiroaki <handlename>. All rights reserved.

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