You probably need to eval your string (if I'm understanding your problem correctly) - e.g.
my $s = '\\033[0;31m' . 'some text' . '\\033[0;31m'; $s = eval qq("$s"); print $s;
In reply to Re: ascii colors from text file
by almut
in thread ascii colors from text file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |