# Index / Landing Page get '/geomine/' => sub { my $filename = config->{public} . "/types.list"; my $all = read_file( $filename ); my @types = split /\n/, $all; template 'start', { 'types' => \@types }; }; #### <% FOREACH item IN types %> <% item %>
<% END %> ##
## $VAR1 = 'this'; $VAR2 = 'that'; $VAR3 = 'the other thing'; ####

Select types

this that the other thing