in reply to How to make dynamic result in META varriable in perl template toolkit
you can't put variable in [%META%], but why not use [% title %] instead of [% template.title %] in your template file, then you can define the $title anywhere you want.