From 4228ae07ffcc75b8b298a8f02617a3e7263d52de Mon Sep 17 00:00:00 2001
From: Guillem Jover <gjover@sipwise.com>
Date: Mon, 15 May 2023 19:24:47 +0200
Subject: [PATCH] MT#57448 Suppress perlcritic warning for stringy eval

We need this to be able to load modules. We could switch in the future
to use Module::Load, but this restores the CI status.

Warned-by: perlcritic
Fixes: BuiltinFunctions::ProhibitStringyEval
Change-Id: Ibb0973636109da7a27aa4ec25d24ea46ffe96bb7
---
 lib/Sipwise/Base.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Sipwise/Base.pm b/lib/Sipwise/Base.pm
index c60ad9d..aa7739a 100644
--- a/lib/Sipwise/Base.pm
+++ b/lib/Sipwise/Base.pm
@@ -24,7 +24,7 @@ sub import {
     for my $f (sort keys %features) {
         $export .= "$features{$f}\n";
     }
-    eval $export;
+    eval $export; ## no critic (BuiltinFunctions::ProhibitStringyEval)
 
     @_ = ($class, ':all');
     goto &autodie::import;