load columns items: % foreach my $show ( glob 'templates/data/items/*.html.ep' ) { % $show =~ s{^.+/([^/]+)\.html\.ep$}{$1}; <%= $show %> % }