% if ($count > $limit) { % } % if ($count) { % while (my $user = $users->next) { % } % }

Search Results

There are <% $count %> users in the system.
<& /lib/paging_controls.mas, start => $start, limit => $limit, count => $count &>
Username Real name Email address
<% $user->username | h %> <% $user->real_name | h %> <% $user->email_address %>
<%args> $start => 0 $limit => 20 <%init> my $count = $Schema->User_t->row_count; my $users = $Schema->User_t->all_rows ( order_by => $Schema->User_t->username_c, limit => [ $limit, $start ] ); <%method title> <& PARENT:title &> - User list