From 0cf00cde741df6a16b91cd6f2e17897957ccc7fd Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Sat, 28 Sep 2024 17:07:18 +0200
Subject: [PATCH] get rid of Modern::Perl (which is currently broken with perl
 5.41.x)

---
 META.json              | 1 -
 META.yml               | 1 -
 Makefile.PL            | 2 --
 cpanfile               | 1 -
 t/00-report-prereqs.dd | 1 -
 t/mech.t               | 3 ++-
 t/okay.t               | 3 ++-
 7 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/META.json b/META.json
index c1bc254..88bbc71 100644
--- a/META.json
+++ b/META.json
@@ -82,7 +82,6 @@
             "ExtUtils::MakeMaker" : "0",
             "File::Spec" : "0",
             "HTTP::Server::Simple::PSGI" : "0",
-            "Modern::Perl" : "0",
             "Plack::Request" : "0",
             "Test::Memory::Cycle" : "0",
             "Test::More" : "0",
diff --git a/META.yml b/META.yml
index 41d3696..dff5082 100644
--- a/META.yml
+++ b/META.yml
@@ -9,7 +9,6 @@ build_requires:
   ExtUtils::MakeMaker: '0'
   File::Spec: '0'
   HTTP::Server::Simple::PSGI: '0'
-  Modern::Perl: '0'
   Plack::Request: '0'
   Test::Memory::Cycle: '0'
   Test::More: '0'
diff --git a/Makefile.PL b/Makefile.PL
index 7708721..5b90ac1 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -33,7 +33,6 @@ my %WriteMakefileArgs = (
     "ExtUtils::MakeMaker" => 0,
     "File::Spec" => 0,
     "HTTP::Server::Simple::PSGI" => 0,
-    "Modern::Perl" => 0,
     "Plack::Request" => 0,
     "Test::Memory::Cycle" => 0,
     "Test::More" => 0,
@@ -56,7 +55,6 @@ my %FallbackPrereqs = (
   "HTTP::Request::Common" => 0,
   "HTTP::Response" => 0,
   "HTTP::Server::Simple::PSGI" => 0,
-  "Modern::Perl" => 0,
   "Plack::Loader" => 0,
   "Plack::Request" => 0,
   "Plack::Util::Accessor" => 0,
diff --git a/cpanfile b/cpanfile
index 933c340..c658ac7 100644
--- a/cpanfile
+++ b/cpanfile
@@ -18,7 +18,6 @@ on 'test' => sub {
   requires "ExtUtils::MakeMaker" => "0";
   requires "File::Spec" => "0";
   requires "HTTP::Server::Simple::PSGI" => "0";
-  requires "Modern::Perl" => "0";
   requires "Plack::Request" => "0";
   requires "Test::Memory::Cycle" => "0";
   requires "Test::More" => "0";
diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd
index 2814fa8..8e8c6ee 100644
--- a/t/00-report-prereqs.dd
+++ b/t/00-report-prereqs.dd
@@ -57,7 +57,6 @@ do { my $x = {
                                    'ExtUtils::MakeMaker' => '0',
                                    'File::Spec' => '0',
                                    'HTTP::Server::Simple::PSGI' => '0',
-                                   'Modern::Perl' => '0',
                                    'Plack::Request' => '0',
                                    'Test::Memory::Cycle' => '0',
                                    'Test::More' => '0',
diff --git a/t/mech.t b/t/mech.t
index f44bb29..334496c 100644
--- a/t/mech.t
+++ b/t/mech.t
@@ -1,6 +1,7 @@
 #!/usr/bin/env perl
 
-use Modern::Perl;
+use strict;
+use warnings;
 
 use utf8;
 use open ':encoding(utf8)';
diff --git a/t/okay.t b/t/okay.t
index 0f4139d..7dc027e 100644
--- a/t/okay.t
+++ b/t/okay.t
@@ -1,6 +1,7 @@
 #!/usr/bin/env perl
 
-use Modern::Perl;
+use strict;
+use warnings;
 
 use utf8;
 use open ':encoding(utf8)';
-- 
2.11.0