diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-14 14:46:44 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-15 02:09:08 -0500 |
commit | 3925504e1390c02950110e92a8581e9670aac054 (patch) | |
tree | 2976814b43c82facd7b9891f0e87d088eee8c913 /lib/Text/Handlebars.pm | |
parent | 4e3bf34027567183336f95153ae94019c468c701 (diff) | |
download | text-handlebars-3925504e1390c02950110e92a8581e9670aac054.tar.gz text-handlebars-3925504e1390c02950110e92a8581e9670aac054.zip |
is_code_ref can now be an opcode too
Diffstat (limited to 'lib/Text/Handlebars.pm')
-rw-r--r-- | lib/Text/Handlebars.pm | 4 |
1 files changed, 0 insertions, 4 deletions
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) = @_; |