in reply to Re: grep with color module of perlin thread grep with color module of perl
use Term::ANSIColor qw{ :constants }; while(<>){ s/(hello)/RED . $1 . RESET/eg; print } [download]