Perl Monk, Perl Meditation | |
PerlMonks |
Re: Mojo Template, passing dynamic index to array.by LanX (Saint) |
on Jul 13, 2021 at 19:16 UTC ( [id://11134973]=note: print w/replies, xml ) | Need Help?? |
According to Mojo::Template please try
> The code works if its like this: <% $local->{ place }[ 0 ]{ street } %> Unlikely, the = is missing in <%= to insert the value
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|