diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-03 11:28:18 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-03 11:28:18 -0500 |
commit | 0d485cd2147eb8dd61dbf565fa1a7c6053460ddf (patch) | |
tree | d72c92af604e9b729ae41b1d516526b01c562ff8 | |
parent | 325000046fe60ec5b966830d1cefe4a7d76df881 (diff) | |
download | text-handlebars-0d485cd2147eb8dd61dbf565fa1a7c6053460ddf.tar.gz text-handlebars-0d485cd2147eb8dd61dbf565fa1a7c6053460ddf.zip |
outer variables should remain visible unless overridden
-rw-r--r-- | lib/Text/Handlebars.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Text/Handlebars.pm b/lib/Text/Handlebars.pm index c58ae86..ad6617e 100644 --- a/lib/Text/Handlebars.pm +++ b/lib/Text/Handlebars.pm @@ -39,6 +39,7 @@ sub default_functions { weaken(my $vars_copy = $vars); return { + %$vars, %$value, '..' => $vars_copy, }; |