in reply to mini-languages for MVC view/controller manipulation
I, for one, think your HTML::Seamstress module is very cool and elegant.
(So what if the idea originated elsewhere.) But, a couple comments on the html
compilation bit:
- In the line $name->hello_world(name => $content); where does that hello_world method come from? Seems to me that you really want to be saying $name->replace_with($content); (And you should probably then call $name->delete_content(); first.)
- In your look_down call, don't you also want to include criteria to look for klass=content? I think that would be prudent.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: mini-languages for MVC view/controller manipulation
by metaperl (Curate) on Dec 27, 2004 at 18:06 UTC |
In Section
Meditations