The method that you would use to output text in colour is completely dependent on how you are displaying your output. For a web page you might use CSS. For a console you might use Curses or ANSI escape codes. Without knowing how you are displaying your output, it's impossible to tell you how to do this.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: color a letter in an array
by davorg
in thread color a letter in an array
by Tony1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |