On Wed, 10 Jul 2002, Mark Fowler wrote:
> On Wed, 10 Jul 2002, Tony Bowden wrote:
>
> > Is there something we can do to extend the syntax of sort even further?
> > Or is there a better approach to this?
>
> This is getting all very complicated - you're requir
That was not the postpone key. D'Oh.
This is getting all very complicated - you're requiring the template
author (even if it is you) to know how the internals of your objects
work. I'd be tempted to say at this point that you really should be doing
it in Perl.
Of course, you're more than welcome to disagree :-)
I'd write a simple wrapping plugin at this point that has methods like you
describe adding to the actual class itself. This way when the underlying
module changes your templates won't need to be rewritten.
Mark.
--
s'' Mark Fowler London.pm Bath.pm
http://www.twoshortplanks.com/ [EMAIL PROTECTED]
';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}