summaryrefslogtreecommitdiffstats
path: root/lib/Text/Handlebars.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-10-14 13:20:05 -0500
committerJesse Luehrs <doy@tozt.net>2012-10-14 14:38:14 -0500
commit5170de4d15d7ff92f3c2a1897caa91928a8855ed (patch)
tree9cbb16e35da3a224979932c51ec0b97b43dfeb82 /lib/Text/Handlebars.pm
parent91eb6cf8098bb675220e9e63111febf69f6cddfd (diff)
downloadtext-handlebars-5170de4d15d7ff92f3c2a1897caa91928a8855ed.tar.gz
text-handlebars-5170de4d15d7ff92f3c2a1897caa91928a8855ed.zip
make_array doesn't need to be a function
Diffstat (limited to 'lib/Text/Handlebars.pm')
-rw-r--r--lib/Text/Handlebars.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Text/Handlebars.pm b/lib/Text/Handlebars.pm
index 29123be..4d0a137 100644
--- a/lib/Text/Handlebars.pm
+++ b/lib/Text/Handlebars.pm
@@ -133,10 +133,6 @@ sub default_functions {
return !$val;
}
},
- '(make_array)' => sub {
- my ($length) = @_;
- return [(undef) x $length];
- },
'(make_hash)' => sub {
my (%hash) = @_;
return \%hash;