in reply to HTML::Template vs. CGI.pm
(I detest CGI.pm, too, it's not just templating toolkits. It's one of the things I'm good at. Detesting.)
Lately, I've started to tinker with doing HTML in Perl. It's rather fun, actually. I do thinks like:
While I can still separate controller and view, now I'm able to code my view in a sensible syntax, and I can pass stuff back and forth without feeling cuffed and gagged. This is still an experiment, so I'm not sure if it's really a good idea, but it's refreshing.body { div { { class => 'content' }, q{Text content}, table { { width => '100%' }, row { cell { ... }, cell { ... } } } } }
(Ok, so this doesn't really answer your question at all. Sice the templating guys are bound to do so though, I just thought I'd share. Sorry.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: HTML::Template vs. CGI.pm
by perrin (Chancellor) on Nov 11, 2003 at 00:40 UTC | |
by argggh (Monk) on Nov 11, 2003 at 12:14 UTC | |
by perrin (Chancellor) on Nov 11, 2003 at 16:18 UTC |