I'm using Template Toolkit version 2.04, perl v5.6.0, Linux (RedHat 7.1).
I'm confused about the following code
********************
use Template;
my $template = Template->new();
$template->process(\*DATA)
|| die $template->error();
__DATA__
[% adashb = 'a-b' %]
[% USE bar = url ("http://no.where.com", arg1 => 'arg2', $adashb => 2) %]
Why does this end up without replacing adashb? [% bar %]
********************
This produces:
********************
Why does this end up without replacing adashb?
http://no.where.com?=2&arg1=arg2
********************
I thought I should see
********************
Why does this end up without replacing adashb?
http://no.where.com?a-b=2&arg1=arg2
********************
What am I missing?
James Moore
[EMAIL PROTECTED]