% my @css = qw(bootstrap.css bootstrap-switch.css toc-scroll.css bootstrap-datepicker3.css vroom.css); @css = map { $self->url_for('/') . 'css/' . $_ } @css; %> <%=css @css %>