summaryrefslogtreecommitdiffstats
path: root/lib/Text/Handlebars.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-10-19 11:26:40 -0500
committerJesse Luehrs <doy@tozt.net>2013-01-02 13:56:21 -0600
commitfb6e289d7fe95bf9b7aec9acd9ccfe155274e0da (patch)
treeb7fa84c9f701d3bb1709afe1653615562de31d44 /lib/Text/Handlebars.pm
parentb2e891ea7b9e44bb598d41380d0c485f3955af6e (diff)
downloadtext-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.pm7
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) = @_;