diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-10-19 11:26:40 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-10-19 11:26:40 -0500 |
commit | 481b04ace765135c4b990e90a0b872fa23f286f0 (patch) | |
tree | 2959aa676ed9419c0a780526820f209ae872275d /lib/Text/Handlebars.pm | |
parent | 47fc628b0553c6b1bf7597f29bd2b6b5ce238cbf (diff) | |
download | text-handlebars-481b04ace765135c4b990e90a0b872fa23f286f0.tar.gz text-handlebars-481b04ace765135c4b990e90a0b872fa23f286f0.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) = @_; |