So, first he gives us callbacks in CGI::Application. Soon we'll have them in HTML::Template too. And if that's not enough, he's enabling magic-dot notation as well!
Three cheers for Mark! Yay Mark, way to go
Ok, so I thought it would be cool to be able to pass arguments to method calls as well, so you can do, say,
<tmpl_var datetime.strftime(%c)>
And mix method calls and hash-key referencing:
<tmpl_var mock.method.some_key>
That would help, for instance, when that method returns a hashref, or when a hash contains some objects.
I've got something thrown together at the moment, but it's still crude. These two samples work though
Thanks (Score:1)
I was hesitant about it at the time, but we only have to look at the growing number of plugins [cgi-app.org] for C::A to see that the value of a functional plugin system for that user community.