Keep It Simple, Stupid | |
PerlMonks |
HTML::Template, TMPL_LOOP problemby Lori713 (Pilgrim) |
on Dec 10, 2003 at 13:46 UTC ( [id://313705]=perlquestion: print w/replies, xml ) | Need Help?? |
Lori713 has asked for the wisdom of the Perl Monks concerning the following question:
I would like some help with the following. I've done several Super Searches, read through lots of examples, but I'm still stumped (probably not seeing the forest for the trees). I receive an error message when trying to run my radio.pl program: HTML::Template->output() : fatal error in loop output : HTML::Template : Attempt to set nonexistent parameter '6' - this parameter name doesn't match any declarations in the template file : (die_on_bad_params => 1) at /usr/local/lib/perl5.8.0/site_perl/HTML/Template.pm line 2905 at /local/www/htdocs/scripts/campus/radio.pl line 31 For the life of me, I can't figure out why it's not happy. I can add or subtract key/value pairs, and the error message line reference just moves up/down accordingly. Any help would be appreciated! (I've cut this example code down to a bare minimum; the original HTML code without TMPL_LOOP worked okay but was lengthy with lots of repetition. Given my customers' penchant for changing stuff, I like the idea of control tables so I have to make changes in only ONE place in my code). Thanks! radio.pl radio.tmpl
Lori
Back to
Seekers of Perl Wisdom
|
|