Re: [htmltmpl] TMPL_XXX idea SCOPE

2005-03-02 Thread Sam Tregar
On Tue, 1 Mar 2005, Robert Ferney wrote: > I envision something like > > > > > this would be a slight variation on the TMPL_LOOP with the main > difference being that there is only one of them, rather than a list of > them.. ie.. it's going to get a HASH ref instead of a LIST ref that > co

[htmltmpl] TMPL_XXX idea SCOPE

2005-03-02 Thread Robert Ferney
If you have a datastructure that looks like { foo=>1234, bar=>"iron", other=>{ color=>"orange", foo=>3.14, bar=>"brass" }, } it would be nice to have a way to access the elements of other ... I envision something like this would be a slight variation on the TMPL_LOOP with t