It turns out there is something that needs updating for perl 5.36, or more specifically the updated Socket module. I didn't look up the details, but:
https://metacpan.org/dist/POE-Component-IRC/changes - Fix issue with DCC on OpenBSD with newer Socket >= 2.031 OK? Index: Makefile =================================================================== RCS file: /cvs/ports/net/p5-POE-Component-IRC/Makefile,v retrieving revision 1.41 diff -u -p -r1.41 Makefile --- Makefile 11 Mar 2022 19:46:50 -0000 1.41 +++ Makefile 15 Feb 2023 01:16:05 -0000 @@ -1,8 +1,7 @@ COMMENT= event-driven IRC-client module -DISTNAME= POE-Component-IRC-6.90 +DISTNAME= POE-Component-IRC-6.93 CATEGORIES= net -REVISION= 0 # perl PERMIT_PACKAGE= Yes Index: distinfo =================================================================== RCS file: /cvs/ports/net/p5-POE-Component-IRC/distinfo,v retrieving revision 1.26 diff -u -p -r1.26 distinfo --- distinfo 3 Dec 2018 21:29:15 -0000 1.26 +++ distinfo 15 Feb 2023 01:16:05 -0000 @@ -1,2 +1,2 @@ -SHA256 (POE-Component-IRC-6.90.tar.gz) = hLn6E+lS2w9TYFpXyfCf1EadPSwNrSVJECqgvDv5I9M= -SIZE (POE-Component-IRC-6.90.tar.gz) = 375501 +SHA256 (POE-Component-IRC-6.93.tar.gz) = 6tRHeia4esvT7NIYQs5bnW4UIw3cRWX+6MaM9n5h3J4= +SIZE (POE-Component-IRC-6.93.tar.gz) = 377897