[Catalyst] CGI.pm and Catalyst?
Alex Povolotsky
tarkhil at over.ru
Fri Mar 7 09:03:53 GMT 2008
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.
Creating HTML inside the code is the best way to make unreadable,
unmaintainable program with mysterious errors.
Alex.
More information about the Catalyst
mailing list