From 23dc0f16530ea7bed06eb51f3eeb6a79ebff63a9 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Wed, 23 Aug 2023 17:52:20 +0200 Subject: [PATCH] silence warnings about smartmatch being experimental/deprecated --- lib/Dizzy/Perl2GLSL.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Dizzy/Perl2GLSL.pm b/lib/Dizzy/Perl2GLSL.pm index af1de00..13b199d 100644 --- a/lib/Dizzy/Perl2GLSL.pm +++ b/lib/Dizzy/Perl2GLSL.pm @@ -3,6 +3,8 @@ package Dizzy::Perl2GLSL; use strict; use warnings; use 5.010; +no if $] >= 5.017011, warnings => 'experimental::smartmatch'; +no if $] >= 5.037010, warnings => 'deprecated::smartmatch'; use B;