2023-06-27 02:28:23 -04:00
|
|
|
%# Because this is a text template (vs HTML) the whitespace is
|
|
|
|
%# significant. Ending a line of embedded Perl with an equal sign
|
|
|
|
%# will prevent some editors from auto-indenting the next line, hence
|
|
|
|
%# the '#=' comment at the end of some lines.
|
|
|
|
% if (keys %{$remark}) { #=
|
2023-11-25 12:41:45 -05:00
|
|
|
Remark #<%= $remark->{'id'} %>
|
2023-06-27 02:57:24 -04:00
|
|
|
%= $remark->{'date' };
|
|
|
|
%== $remark->{'author'} . "\n";
|
|
|
|
%== $remark->{'body' };
|
2023-06-27 02:28:23 -04:00
|
|
|
% } else { #=
|
|
|
|
%= stash 'error';
|
|
|
|
% } #=
|