in reply to HTML::Template not finding parameter in template
When your template variable is inside a <TMPL_LOOP> you have to qualify it with the loop name:
$template->param( chassis_type => [{ chassis_id => [{ SLOTNAME => 'test-slot-name' }] }] );
The template doesn't demand a global SLOTNAME value, it requires a value for every iteration of the loop.
|
---|
In Section
Seekers of Perl Wisdom