From: Yuri Leikind Date: 2001-06-26T23:21:54+09:00 Subject: [ruby-talk:16896] style in ruby cgi scripts Hi all, Today I played with Ruby cgi library for the first time, and after lots of Perl cgi coding this seems a bit weird to me - the fact that the whole html page must be generated by a sequence of Ruby expressions concatenated with "+" : cgi.body{ cgi.p{ ...... }+ cgi.pre{ ...... }+ ....and so on } In general Ruby is like fresh air to me, it is very clean and nice, but here I have to do tricks like obj.collect { |x| ....... }.join('
') + .......... or cgi.p{ .......... }if (..) + which I personally don't find good style, and unmaintanable for big and complex cgi scripts. Could you please show me another way, or, if you think this way is ok, show/send me an example of a complex cgi script? -- Best regards, Yuri Leikind Random signature: Though I'll admit readability suffers slightly... -- Larry Wall in <2969@jato.Jpl.Nasa.Gov>