in reply to Beginer TT question

So close ... it's FOREACH thing = env.keys.sort That's =, not in. Try this instead:

[% FOREACH thing = env.keys.sort %] [% thing %] [% END %]
UPDATE: yes ... case matters. :)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re^2: Beginner TT question
by matthewb (Curate) on Jul 06, 2005 at 08:43 UTC
    So close ... it's FOREACH thing = env.keys.sort That's =, not in.

    Case sensitivity aside, `IN' is a synonym for `=' in this context, as mentioned in Template::Manual::Directives

    </pedant>

    MB
Re^2: Beginer TT question
by Anonymous Monk on Jul 05, 2005 at 21:27 UTC
    that doesn't work either. I tried it before I posted.