summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-04-25 13:55:38 -0700
committerJesse Luehrs <doy@tozt.net>2013-04-25 13:55:38 -0700
commit9351eb8c985f94625bf4244f58ed1035d2b226c1 (patch)
treec0de1c117c88addc600046369ef0f05e4b2d5c72
parent90b7588f299bb52dba13891dbcbff2ae945ea382 (diff)
parentc84e87118fde784eaf5792ebb61af9e4fb9b21c0 (diff)
downloadtext-handlebars-9351eb8c985f94625bf4244f58ed1035d2b226c1.tar.gz
text-handlebars-9351eb8c985f94625bf4244f58ed1035d2b226c1.zip
Merge pull request #4 from logie17/master
POD Update (Synopsis tweak)
-rw-r--r--lib/Text/Handlebars.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Text/Handlebars.pm b/lib/Text/Handlebars.pm
index 3a4647b..bc03b7b 100644
--- a/lib/Text/Handlebars.pm
+++ b/lib/Text/Handlebars.pm
@@ -27,10 +27,10 @@ use Try::Tiny;
my $vars = {
author => { firstName => 'Alan', lastName => 'Johnson' },
body => "I Love Handlebars",
- comments => [
+ comments => [{
author => { firstName => 'Yehuda', lastName => 'Katz' },
body => "Me too!",
- ],
+ }],
};
say $handlebars->render_string(<<'TEMPLATE', $vars);