Problems? Is your data what you think it is? | |
PerlMonks |
Re: Passing a value to Mojo::Template templateby haukex (Archbishop) |
on Apr 14, 2021 at 16:56 UTC ( [id://11131288]=note: print w/replies, xml ) | Need Help?? |
The data for the variables should be in a single hash. $mt->render_file('myfile.html.ep', { data => $data, test => $code } ) works for me.
In Section
Seekers of Perl Wisdom
|
|