in reply to Re: Re: CGI form Not Showing Up. (Style Comment)
in thread CGI form Not Showing Up.

Good one, although I note that you're using concatenation rather than the more efficient list separator ('.' as opposed to ','). And what's the nl for?

--t. alex

"Nyahhh (munch, munch) What's up, Doc?" --Bugs Bunny

Replies are listed 'Best First'.
Re: Re: (3) CGI form Not Showing Up. (Style Comment)
by thunders (Priest) on May 01, 2002 at 20:18 UTC
    ok the nl function is just ultimate laziness it's two characters shorter than "\n" and four shorter than qq(\n). i like new lines in my HTML. It should really be &nl so i don't have to define it up top.
    As for the concat, in this case it works same as , but if you use brackets
    td(["bob "."dan","alice"])
    to construct a row of td()'s it makes a big difference wheather you concat or commify. you get
    <td>bob dan</td><td>alice</td>
    So habitually i use . for things in one td cell. I doubt the overhead is noticible.