in reply to Re^5: Conditional statement in HTML code.
in thread Conditional statement in HTML code.

This is working below: if ($ref->{'status'} =~ /Open/i) { $color = 'green' ; } else { $color = 'red' ; } ;
  • Comment on Re^6: Conditional statement in HTML code.