in reply to PERL TK logfile color coding error

Can you please post a minimally functional script that shows the actual problem? You don't show what $tag is, and I don't want to write a script just to test your erroneous syntax. :-)

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh