Skip to content

zentooo/p5-term-ansicolor-relax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Term::ANSIColor::Relax

Make colored output easily.

Synopsis

relax

Install

cpanm Term::ANSIColor::Relax

or

git clone git://github.com/zentooo/p5-term-ansicolor-relax.git cd p5-term-ansicolor-relax perl Makfile.PL && make && make install

Usage

use Term::ANSIColor::Relax;
use feature qw/say/;

say "I"->green;
say "love"->magenta->bold->underscore;
say "you"->white->on_blue;

my $timtoady = <<'TIMTOADY';
#####  ###  #    #  #####   ###     #    ####   #   #  
  #     #   ##  ##    #    #   #   # #   #   #  #   #  
  #     #   # ## #    #    #   #  #   #  #   #   # #   
  #     #   #    #    #    #   #  #####  #   #    #    
  #     #   #    #    #    #   #  #   #  #   #    #    
  #    ###  #    #    #     ###   #   #  ####     #    
TIMTOADY

say $timtoady->rainbow;

About

color on your terminal with "Relax"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages