in reply to Mojo Template, passing dynamic index to array.

According to Mojo::Template please try
<p> Location: <br/> <%= $local->{place}[ $number ]{street} %> </p>

> The code works if its like this: <% $local->{ place }[ 0 ]{ street } %>

Unlikely, the = is missing in <%= to insert the value

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery