From 7218c7d510bfac54798dc9d5275ab6eb881ef9f5 Mon Sep 17 00:00:00 2001 From: eleksir Date: Wed, 9 Sep 2020 21:21:50 +0300 Subject: [PATCH] Require perl-5.18.0 to properly lc() and uc() unicode strings --- bin/aleesa-telegram-bot | 1 + confcheck.pl | 1 + lib/botlib.pm | 1 + lib/conf.pm | 1 + lib/telegrambot.pm | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/aleesa-telegram-bot b/bin/aleesa-telegram-bot index 4609184..21819e7 100755 --- a/bin/aleesa-telegram-bot +++ b/bin/aleesa-telegram-bot @@ -1,5 +1,6 @@ #!/usr/bin/perl +use 5.018; use strict; use warnings "all"; use utf8; diff --git a/confcheck.pl b/confcheck.pl index daf3c18..6eba9a2 100755 --- a/confcheck.pl +++ b/confcheck.pl @@ -1,5 +1,6 @@ #!/usr/bin/perl +use 5.018; use strict; use warnings "all"; use utf8; diff --git a/lib/botlib.pm b/lib/botlib.pm index aeb95da..006785e 100644 --- a/lib/botlib.pm +++ b/lib/botlib.pm @@ -1,5 +1,6 @@ package botlib; +use 5.018; use strict; use warnings "all"; use utf8; diff --git a/lib/conf.pm b/lib/conf.pm index 9098a96..23f1313 100644 --- a/lib/conf.pm +++ b/lib/conf.pm @@ -1,5 +1,6 @@ package conf; +use 5.018; use strict; use warnings "all"; use utf8; diff --git a/lib/telegrambot.pm b/lib/telegrambot.pm index e682ff5..853a5f6 100644 --- a/lib/telegrambot.pm +++ b/lib/telegrambot.pm @@ -1,9 +1,9 @@ package telegrambot; +use 5.018; use strict; use warnings "all"; use vars qw/$VERSION/; -use v5.10.0; use utf8; use Data::Dumper; use open qw(:std :utf8);