in reply to HTML::Template frustrated...

Have you searched your code for 'loop_name' ? If that term is included inside quotes in the error message, I would think that it referred to an actual string in your code that is causing the error.

The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: HTML::Template frustrated...
by iRemix94 (Sexton) on Jul 14, 2015 at 13:35 UTC

    well yea the 'loop_name' is the loop SCHEDULE_ROWS, I don't get why it doesn't find it

      Exactly. So if the error says

      Attempt to set nonexistent parameter 'loop_name'
      rather than
      Attempt to set nonexistent parameter 'SCHEDULE_ROWS'
      then I would guess that you are passing the literal string 'loop_name' rather than the value of $loop_name (or however you have it stored in your program.)

      That is why I suggested that you search your code for the string 'loop_name' . (Part two of that, left implicit, was to check your quotation/interpolation of $loop_name.)

      But you didn't do that.

      You did insist that "well yea the 'loop_name' is the loop SCHEDULE_ROWS, I don't get why it doesn't find it" , which is not the same as actually examining the value of the variables in your code. See Data::Dumper and The PerlMonks Basic Debugging Checklist.

      (Tip for next time: You should copy and paste inside <code></code> tags the complete error message your program gives you.)

      The way forward always starts with a minimal test.