in reply to Conditional color formatting ---- HTML

> $ret .=  <div style="background-color: orange">$line</div>\n;

HTML is not Perl, you have to doublequote the string.

qq{..} would work right away, ".." would require changing the inner quotes to single ones ( " -> ')

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice