[Templates] Global matching
Mark Fowler
mark@twoshortplanks.com
Thu, 5 Sep 2002 14:07:42 +0100 (BST)
On Thu, 5 Sep 2002, Perrin Harkins wrote:
> The way I think of it, I am not making any attempt to determine which
> templates need a certain functionality but rather adding a general-use
> keyword to TT itself. I have an accessor method that is called in my
> handlers when they want to process a template, and that code always adds
> my site-wide functions as well as setting up the include path, etc.
> I've used this in the past to add things like a URI escaping function.
Interesting point of view, and probably one worth mentioning.
(*sound effect* Mark changing slides again)
Oh, if anyone's in London a week today then I'll be having a
practice presentation (with rough edges and *everything*) of the talk at
the London.pm tech meeting - http://london.pm.org/meetings/
Mark.
--
s'' Mark Fowler London.pm Bath.pm
http://www.twoshortplanks.com/ mark@twoshortplanks.com
';use Term'Cap;$t=Tgetent Term'Cap{};print$t->Tputs(cl);for$w(split/ +/
){for(0..30){$|=print$t->Tgoto(cm,$_,$y)." $w";select$k,$k,$k,.03}$y+=2}