just wondering ...
 
i have got a tied hash that i know is sorted/inserted correctly before
i send it to TT.

if using syntax 1 below TT will produce the same result as when i loop
directly in perl. 
however syntax 2 will always be sorted by the key in the hash. is this
a feature ?

TT is configfured to:
  $STASH     = 'Template::Stash';

./allan

###
syntax 1)

FOREACH ITEM = tied_hash.keys;
    ITEM;
    tied_hash.$ITEM;
END;


syntax 2)

FOREACH ITEM = tied_hash;
    ITEM.key;
    ITEM.value;
END;

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.ourshack.com/mailman/listinfo/templates

Reply via email to