% layout 'default'; % foreach my $n ( @$columns ) { % } % foreach my $row ( @$sorted ) { % foreach my $col ( @$columns ) { % } % }
<%= $n %> #
<%= ref $row->{$col} eq 'ARRAY' ? join(', ',@{ $row->{$col} }) : $row->{$col} %>
% foreach my $p ( 0 .. int( $rows / $limit ) ) { % my $o = $p * $limit; % if ( $o == $offset ) { <%= $p + 1 %> % } else { <%= $p + 1 %> % } % }
% my $filters = session('filters'); % if ( keys %$filters ) {

Filters active

% }