Hi everyone,

This is my first post to the list. I am very new to TT2.

My problem is this, I am iterating over a hash and this:

[% FOREACH n = school_details.sort %]
       <tr><td>[% n %]</td><td>[% school_details.$n %]</td></tr>  
[% END %]

works exactly as expected.

But take the sort out like so:

[% FOREACH n = school_details %]
      <tr><td>[% n %]</td><td>[% school_details.$n %]</td></tr>  
[% END %]

And the output looks like this:

HASH(0x877d21c)  
HASH(0x877d1ec)  
HASH(0x877d1bc)  
HASH(0x877d1a4)

Presumably the address in Perl's symbol table.

What am I doing wrong?

TIA,

David Martin/ jerrygarciuh


All you have to do is decide
what to do with the time that
is given to you.
                      ~ GTG




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

Reply via email to