in reply to Re^2: IF in a loop using HTML::Template
in thread IF in a loop using HTML::Template
Inside a <TMPL_LOOP>, the only variables that are usable are the ones from the <TMPL_LOOP>. The variables in the outer blocks are not visible within a template loop. For the computer-science geeks among you, a <TMPL_LOOP> introduces a new scope much like a perl subroutine call. If you want your variables to be global you can use global_vars option to new() described below.
HTML::Template
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: IF in a loop using HTML::Template
by Anonymous Monk on Mar 20, 2013 at 21:40 UTC | |
by saberworks (Curate) on Mar 21, 2013 at 00:41 UTC | |
|
Re^4: IF in a loop using HTML::Template
by Anonymous Monk on Mar 21, 2013 at 01:54 UTC | |
|
Re^4: IF in a loop using HTML::Template
by Anonymous Monk on Mar 21, 2013 at 12:40 UTC |