On 7 Mar 2008, at 19:23, Martin Ellison wrote:

Is there anything attached to Catalyst similar to the CGI.pm module? That
is, creating the HTML by a series of procedure calls rather than by
instantiating a template?

Or is there some way to link up the existing CGI module?
$c->response->body(ul(li(q{hello}),
li(q{world})))) ?

Or is it not a good idea?

I couldn't find anything from a search, so excuse me please if this has been
covered before.


Don't use cgi.pm with catalyst, it's a bad idea which has bitten me in the arse for reasons I forget. Perhaps you want html::tiny, although I'd really recommend that you use a proper template engine, otherwise your code will grow into a horrible monster before you know it.

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to