<?xml version="1.0" encoding="windows-1252"?>
<node id="1012299" title="Re: How to make dynamic result in META varriable in perl template toolkit" created="2013-01-08 12:59:25" updated="2013-01-08 12:59:25">
<type id="11">
note</type>
<author id="630086">
technojosh</author>
<data>
<field name="doctext">
You've only posted HTML. If this is really a problem of Perl inserting a variable title, consider below:

&lt;code&gt;
use strict;
use warnings;

my $pageTitle = 'variable title text';

print qq[
&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;$pageTitle&lt;/title&gt;
&lt;meta name="generator" content="Ipad2 and iphone accesories" / +&gt;
&lt;meta name="author" content="cloudsandcolors.com" /&gt;
];

print qq[rest of properly formatted web page];

&lt;/code&gt;

The above will allow you to insert variable text in the title, if that is all you want.
&lt;p&gt;
I suspect, however, you want something cooler, like dynamic update of &lt;title&gt; after page is already loaded. If I am wrong, my code above should help.

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-630086"&gt;
&lt;a href="http://www.perlmonks.org/?node=technojosh"&gt;&lt;i&gt;
-TJ
&lt;/i&gt;
&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1012294</field>
<field name="parent_node">
1012294</field>
</data>
</node>
