From 5170de4d15d7ff92f3c2a1897caa91928a8855ed Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 14 Oct 2012 13:20:05 -0500 Subject: make_array doesn't need to be a function --- lib/Text/Handlebars.pm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/Text/Handlebars.pm') 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; -- cgit v1.2.3-54-g00ecf