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
mr11.4
Guillem Jover 2 years ago
parent c1fdffc072
commit 4228ae07ff

@ -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;

Loading…
Cancel
Save