use Term::ANSIColor qw{ :constants }; while(<>){ s/(hello)/RED . $1 . RESET/eg; print }
In reply to Re^2: grep with color module of perl
by vincentaxhe
in thread grep with color module of perl
by vincentaxhe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |