diff --git a/Makefile.PL b/Makefile.PL index a5830ce..bdb172b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,6 +6,7 @@ WriteMakefile( MIN_PERL_VERSION => '5.26.0', PREREQ_PM => { Feature::Compat::Class => 0.07, + ($^V < v5.40 ? ('Object::Pad' => 0) : ()), }, TEST_REQUIRES => { Test::More => 0,