I'm building a list of template variable names and values from a data file and am trying to fill $template->param() with the keys and values. I get the error "Attempt to set nonexistent parameter 'REFERENCEKEY' - this parameter name doesn't match any declarations in the template
file : (die_on_bad_params => 1)".
I want to build all the keys-values prior to looping through a series of seperate templates. How do I shut off this validation?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm building a list of template variable names and values from a data file and am trying to fill $template->param() with the keys and values. I get the error "Attempt to set nonexistent parameter 'REFERENCEKEY' - this parameter name doesn't match any declarations in the template
file : (die_on_bad_params => 1)".
I want to build all the keys-values prior to looping through a series of seperate templates. How do I shut off this validation?
my $template =template->new(die_on_bad_params => 0)
I think this should work.
Have great time.