Skip to content

Commit

Permalink
documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 11, 2012
1 parent fcbe89e commit 03141c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/Template.pm
Expand Up @@ -378,13 +378,13 @@ Mojo::Template - Perl-ish templates!
EOF
say $output;
# More complicated
# More advanced
my $output = $mt->render(<<'EOF', 23, 'foo bar');
% my ($number, $text) = @_;
%= 5 * 5
<!DOCTYPE html>
<html>
<head><title>Simple</title></head>
<head><title>More advanced</title></head>
<body>
test 123
foo <% my $i = $number + 2; %>
Expand Down

0 comments on commit 03141c9

Please sign in to comment.