Subject: | Documentation bug for "allowed characters in TMPL_* NAME" |
hi,
under "Frequently saked questions" i found the following:
Show quoted text
> Q: What characters are allowed in TMPL_* NAMEs?
> A: Numbers, letters, '.', '/', '+', '-' and '_'.
but actually, more characters work, e.g. = or ~
<tmpl_var name="foo~bar=baz">
So the documentation should be updated to list all
allowed characters.
example:
perl -wle'
use HTML::Template;
my $ht = HTML::Template->new(scalarref => \q{<tmpl_var
name="foo~bar=baz">});
$ht->param("foo~bar=baz" => 23);
print $ht->output'
23