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.

In reply to Re^3: HTML::Template frustrated... by 1nickt
in thread HTML::Template frustrated... by iRemix94

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.