From 3925504e1390c02950110e92a8581e9670aac054 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 14 Oct 2012 14:46:44 -0500 Subject: is_code_ref can now be an opcode too --- 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 6fed7a7..fbc0976 100644 --- a/lib/Text/Handlebars.pm +++ b/lib/Text/Handlebars.pm @@ -124,10 +124,6 @@ sub default_functions { return { %{ $class->SUPER::default_functions(@_) }, %{ $class->default_helpers }, - '(is_code)' => sub { - my ($val) = @_; - return ref($val) && ref($val) eq 'CODE'; - }, '(new_vars_for)' => sub { my ($vars, $value, $i) = @_; -- cgit v1.2.3-54-g00ecf