<?xml version="1.0" encoding="windows-1252"?>
<node id="1012294" title="How to make dynamic result in META varriable in perl template toolkit" created="2013-01-08 12:28:29" updated="2013-01-08 12:28:29">
<type id="115">
perlquestion</type>
<author id="904867">
romy_mathew</author>
<data>
<field name="doctext">
&lt;p&gt;Please suggest a solution&lt;/p&gt;

&lt;code&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
	&lt;head&gt;
		&lt;title&gt;[%template.title]&lt;/title&gt;
		&lt;meta name="generator" content="Ipad2 and iphone accesories" /&gt;
		&lt;meta name="author" content="cloudsandcolors.com" /&gt;
&lt;/code&gt;
&lt;code&gt;
[%Meta
title = 'This is my heading'
%]
&lt;/code&gt;
&lt;p&gt;
The above code works without any problem but anytime I need to change the page title I need to manually correct the title head on page &lt;br&gt;
I want to create a dynamic title for each page from a varriable. like &lt;br&gt;
&lt;code&gt;
[%META 
title = '$varriable'
-%]
&lt;/code&gt;

&lt;br&gt;

The above code does not works, looking for a suggestion to work around this problem. 

</field>
</data>
</node>
