diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-15 01:13:18 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-15 02:03:58 -0500 |
commit | 4e3bf34027567183336f95153ae94019c468c701 (patch) | |
tree | d399b434346edb697b35e8dd94ba0417a904fc66 /lib/Text/Handlebars.pm | |
parent | 0435a4616d2eaf1198f7c2e3acdc121a958e8494 (diff) | |
download | text-handlebars-4e3bf34027567183336f95153ae94019c468c701.tar.gz text-handlebars-4e3bf34027567183336f95153ae94019c468c701.zip |
this weaken is unnecessary
Diffstat (limited to 'lib/Text/Handlebars.pm')
-rw-r--r-- | lib/Text/Handlebars.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Text/Handlebars.pm b/lib/Text/Handlebars.pm index 2e4770f..6fed7a7 100644 --- a/lib/Text/Handlebars.pm +++ b/lib/Text/Handlebars.pm @@ -138,12 +138,11 @@ sub default_functions { } if (ref($value) eq 'HASH') { - weaken(my $vars_copy = $vars); return { '@index' => $i, %$vars, %$value, - '..' => $vars_copy, + '..' => $vars, }; } else { |