On Thu, 6 Jun 2002, Mark Mertel wrote: > subject says it all. except, i would like to be able to have it ignore > extra parameters which get set but do not exist in the template file.
You can use the same parameter twice, but only the second one will take effect: $template->param(foo => 'bar'); $template->param(foo => 'baz'); # <tmpl_var foo> => baz This is just like in Perl: $foo = "bar"; $foo = "baz"; # $foo => baz As for setting parameters that don't exist, see the die_on_bad_params option. -sam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
