On Thu, May 27, 2010 at 6:22 PM, Harry Putnam <rea...@newsguy.com> wrote:
> I wondered if anyone could steer me to some information about making
> perl script output appear in color highlight on stdout.
>
> Something like what modern grep does on linux, where the searched term
> appears in some color (red) in the output to tty.

Take a look at Term::ANSIColor module

Example usage:
  print PUSHCOLOR YELLOW . $x . POPCOLOR;


-- 
Eitan Adler

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to