On 29 May 2012 08:30, Boris Lobzov <boris.lob...@gmail.com> wrote:
> Description:
>
> TMPL_VAR used for same variable both in the loop and outside of the
> loop, is empty when used within the loop.

you need to set the global_vars flag when calling 'new'.  See the docs here:

http://search.cpan.org/~wonko/HTML-Template-2.91/lib/HTML/Template.pm#Miscellaneous_Options

-- 
hello world

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to