From 8a20f7ea34fb8549669b6789d0963a2bbd8100f0 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Mon, 14 Sep 2026 01:36:41 +0200 Subject: [PATCH] Fix socket tests without Socket6 --- t/web-lib-funcs-open-socket.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/web-lib-funcs-open-socket.t b/t/web-lib-funcs-open-socket.t index 65ce3dc18..69eccc387 100644 --- a/t/web-lib-funcs-open-socket.t +++ b/t/web-lib-funcs-open-socket.t @@ -5,7 +5,8 @@ use warnings; no warnings qw(once redefine); use Test::More; use FindBin; -use Socket; +# Import IPv6 helpers even when the optional Socket6 module is absent. +use Socket qw(:DEFAULT inet_pton inet_ntop); use Errno qw(ECONNREFUSED); my (@events, %connect_ok);