Subject: | Dot plugin: loop vars as arguments to method calls |
At present, I am unable to use a loop variable in a method call. By this
I mean, for example:
<tmpl_loop artist.cds>
<tmpl_var Formatter.format_currency('US', this.price)>
</tmpl_loop>
With the above, HTML::Template::Plugin::Dot fails to recognize
this.price as a valid TMPL_VAR.
Also, probably related, is the inability to use loop context vars in a
similar scenario. For example:
<tmpl_loop artist.cds>
<tmpl_var Formatter.sprintf('%04d', __counter__)>
</tmpl_loop>
Again, HTML::Template::Plugin::Dot fails to recognize __counter__ as a
valid TMPL_VAR.