I’m trying to use the loop_context_var option for HTML::Template. Specifically I’m looking at the __counter__ option. When I do a dump on my hashref, I can see that it’s adding __counter__ along with the other vars, however, the counter var is always ‘undef’.
Is it supposed to be like this? If so, does anyone have an example of its use? I can’t seem to find one on the web anywhere.