Perl-Sensitive Sunglasses | |
PerlMonks |
Preparing data for Templateby Bod (Parson) |
on Dec 30, 2020 at 22:38 UTC ( [id://11126016]=perlquestion: print w/replies, xml ) | Need Help?? |
Bod has asked for the wisdom of the Perl Monks concerning the following question: I have been following this tutorial for creating dynamic content with Template and trying to apply this to my own needs. But I've hit a problem in preparing the data for the template. Template file This does not generate any output for anything within the [% FOREACH ... %] block Here is the code that extracts some data from the database and prepares it for passing to the Template display code There are a couple of warn statements in there so I can see something of what the code is doing. Here is the relevant part of Site::HTML...
I'm not sure when list_frames is supposed to get called but I'm guessing at the time the hash reference $vars is generated.
Back to
Seekers of Perl Wisdom
|
|