Warn::Colorful - Perl extention to color warning messages.
This document describes Warn::Colorful version 0.01.
use Warn::Colorful ( base => 'blue', body => 'red', ); warn 'hello';
or
echo "base=blue" > ~/.warn-colorful perl -MWarn::Colorful foo.pl
Colourful warning messages would give you a readability and free from stress.
keys
base
Default for other keys. Its default is blue.
blue
body
Color for message body.
file
Color for filename.
line
Color for line number.
values
name of ANSI Colors.
Term::ANSIColor
NAGATA Hiroaki <handlename> <handle _at_ cpan _dot_ org>
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.
To install Warn::Colorful, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Warn::Colorful
CPAN shell
perl -MCPAN -e shell install Warn::Colorful
For more information on module installation, please visit the detailed CPAN module installation guide.