in reply to Re: td() and Tr() inCGI.pm
in thread td() and Tr() inCGI.pm

Thanks chipmunk that was what I was looking for, and using join() was clever. I had thought of using two td calls but I couldn't figure out how to do that in the context of Tr() without creating a new row.

Replies are listed 'Best First'.
Re: Re: Re: td() and Tr() inCGI.pm
by virtualsue (Vicar) on Nov 26, 2001 at 15:28 UTC
    I agree it's an interesting trick, and I upvoted it because he answered your question in the way you asked him to, but from a general software engineering perspective it's a lousy practice. In this case there is no good reason to cram all those table cells into the smallest possible number of HTML shortcuts. The resulting code is hard to write, harder to read, and painful to maintain. This adds up to projects which take too long and cost too much if you code like this as a way of life. cLive;-)'s answer below is the Right Way to do this with HTML shortcuts.