% my $comments = stash('comments') || []; % my $num = 1;

Комментарии:

% foreach my $comment (@{ $comments }) {
# <%= $num++ %>  <%= $comment->{user} %>  <%= from_unixtime $comment->{time} %> 
%== markdown $comment->{text}
% }

<%= l('Add') %>