On Tue, Sep 30, 2003 at 09:00:52AM -0500, Dave Cash wrote:
> > In perl this would be sort { $team{$a} cmp $team{$b} } keys %team, but I
> > can't work out how to do this sort of thing in TT. I'm guessing that
> > it's a common enough thing that there must be an idiom for it, but I'll
> > feeling particularly slow today ...
> I don't know of any idiom use native TT2 virtual methods, but this
> is an example of how I do it:

Ah. That doesn't make me feel so bad then.

I was hoping there was a way that didn't require adding a virtual
method, but it's easy enough to do it that way if I have to. 

I'd have thought this was a common enough thing to deserve a core way to
do it?

Tony

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to