in reply to Re: question on tmpl_include in thread question on tmpl_include
In case the substitution function returns the number of performed substitutions it could be a good idea, to recall it in a loop until it does not substitutes anything more.
Doing it that way enables you to use as deep structured template terms as you want (or need) to.
I am sorry if I missed the possibility to edit my post above, but I am new to the perlmonks and did not find any such button or else.
Now I now how to change written answers... (thanks to ViceRaid, who told me how).
|