in reply to Re^2: a perl code syntax helpin thread a perl code syntax help
You could make life much easier for yourself by using a templating system rather than creating HTML in this manner, but you already know that.