From 893d0763031ba95a1b1c605416779051fad86118 Mon Sep 17 00:00:00 2001 From: Lukas Mai Date: Sat, 25 Apr 2026 13:00:11 +0200 Subject: [PATCH] fix perl version check in Makefile.PL $] is a number and must be compared as a number. A test like `$] ge '5.006'` will start failing once $] reaches (or exceeds) 10.0. --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index 79f19624..f7007693 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -154,7 +154,7 @@ for my $interesting_module (qw( $prereq_pm->{$interesting_module} ||= 0; } } -unless (exists $prereq_pm->{"LWP::UserAgent"} && $] ge '5.006') { +unless (exists $prereq_pm->{"LWP::UserAgent"} && $] >= 5.006) { # allow bootstrap with pure perl HTTP, but skip if we have LWP::UserAgent already installed $prereq_pm->{'HTTP::Tiny'} = '0.005';