From 76ed89510f6052459472a7e68f60b0759faeae65 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Sun, 29 Apr 2018 00:39:32 +0900 Subject: [PATCH] Fix for perl 5.26. --- data/plugins/00index | 2 +- t/02_Plugins/01index | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/plugins/00index b/data/plugins/00index index f5cffdd..3eb0765 100644 --- a/data/plugins/00index +++ b/data/plugins/00index @@ -17,7 +17,7 @@ $plugin = { my $accesskey = 1; my $format_mtime = sub{ - use encoding 'utf8'; + use 'utf8'; my $mtime = shift; return if($mtime <= 0); my $timediff = time - $mtime; diff --git a/t/02_Plugins/01index b/t/02_Plugins/01index index 6178d90..2338dff 100644 --- a/t/02_Plugins/01index +++ b/t/02_Plugins/01index @@ -14,7 +14,7 @@ $plugin = { my $accesskey = 1; my $format_mtime = sub{ - use encoding 'utf8'; + use 'utf8'; my $mtime = shift; return if($mtime <= 0); my $timediff = time - $mtime; -- 2.11.0