in reply to HTML::Template question

The error message tells you:

HTML::Template : Attempt to set no +nexistent parameter 'schedule_columns' - this parameter name doesn't match any declarations in the template file
<TMPL_LOOP NAME=SCHEDULE_COLUMNS>
The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: HTML::Template question
by iRemix94 (Sexton) on Jul 21, 2015 at 11:33 UTC

    But I don't know why, and how to fix it? It is in the template, and I give is part of the array ref I give the template(checked with Dumper)

      You haven't posted all the relevant code, so I was guessing from the error messages that you declare the parameter in upper case and then attempt to set it in lower case. Try searching for the string 'schedule_rows' in your code, then find where you declare that in your template file. I think you will find they are different.

      The way forward always starts with a minimal test.

        I've updated the template part. I think you can see that it isn't a case of wrong loop names etc.