diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-14 14:46:44 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-01-02 13:56:20 -0600 |
commit | 8dde6c5072fd4c989e6cdec3b827050754647e7f (patch) | |
tree | f3f79fe15ef6ff1e44001805a168c878cd705ab1 /lib/Text/Handlebars.pm | |
parent | 8b052ee0796e1364678c5c3d891077a7905d6754 (diff) | |
download | text-handlebars-8dde6c5072fd4c989e6cdec3b827050754647e7f.tar.gz text-handlebars-8dde6c5072fd4c989e6cdec3b827050754647e7f.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) = @_; |