% if (@articles) { Showing <% scalar(@articles) %> article<% @articles > 1 ? "s" : "" %>. % } % else {

No articles yet.

% } <%init> my @articles = @{ Blog::Article::Manager->get_articles (sort_by => 'create_time DESC') };