diff --git a/Kernel/Output/HTML/Layout/Template.pm b/Kernel/Output/HTML/Layout/Template.pm
index ba35198e2f..7c36f00548 100644
--- a/Kernel/Output/HTML/Layout/Template.pm
+++ b/Kernel/Output/HTML/Layout/Template.pm
@@ -16,9 +16,9 @@
package Kernel::Output::HTML::Layout::Template;
+use v5.24;
use strict;
use warnings;
-use v5.20;
# core modules
use Scalar::Util qw();
diff --git a/scripts/test/Selenium/Output/Dashboard/CmdOutput.t b/scripts/test/Selenium/Output/Dashboard/CmdOutput.t
index 1089ea4148..ffb7bde804 100644
--- a/scripts/test/Selenium/Output/Dashboard/CmdOutput.t
+++ b/scripts/test/Selenium/Output/Dashboard/CmdOutput.t
@@ -14,7 +14,7 @@
# along with this program. If not, see .
# --
-use v5.20;
+use v5.24;
use strict;
use warnings;
use utf8;
@@ -41,7 +41,7 @@ $Selenium->RunTest(
my %CmdParam = (
Block => 'ContentSmall',
CacheTTL => 60,
- Cmd => "echo $CmdMessage",
+ Cmd => qq{echo "$CmdMessage"},
Default => 1,
Description => '',
Group => '',