diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-19 11:26:40 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-01-02 13:56:21 -0600 |
commit | fb6e289d7fe95bf9b7aec9acd9ccfe155274e0da (patch) | |
tree | b7fa84c9f701d3bb1709afe1653615562de31d44 /lib/Text/Handlebars.pm | |
parent | b2e891ea7b9e44bb598d41380d0c485f3955af6e (diff) | |
download | text-handlebars-fb6e289d7fe95bf9b7aec9acd9ccfe155274e0da.tar.gz text-handlebars-fb6e289d7fe95bf9b7aec9acd9ccfe155274e0da.zip |
find_file and suffix are now opcodes
Diffstat (limited to 'lib/Text/Handlebars.pm')
-rw-r--r-- | lib/Text/Handlebars.pm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Text/Handlebars.pm b/lib/Text/Handlebars.pm index 947a336..2bd0096 100644 --- a/lib/Text/Handlebars.pm +++ b/lib/Text/Handlebars.pm @@ -143,13 +143,6 @@ sub _register_builtin_methods { my ($funcs) = @_; weaken(my $weakself = $self); - $funcs->{'(suffix)'} = sub { - return $weakself->{suffix}; - }; - $funcs->{'(find_file)'} = sub { - my ($filename) = @_; - return try { $weakself->find_file($filename); 1 }; - }; $funcs->{'(make_block_helper)'} = sub { my ($code, $raw_text, $else_raw_text, $hash) = @_; |