You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-12-01 22:30:09 +02:00
Working on #174: Get Perl Critic to pass on stern
Added single exception for the violation of BuiltinFunctions::ProhibitStringyEval and removed from policy file.
This commit is contained in:
@@ -276,7 +276,8 @@ sub variableListParse
|
||||
|
||||
if ($oVariable->paramTest('eval', 'y'))
|
||||
{
|
||||
$strValue = eval $strValue;
|
||||
# In this case we really do want to evaluate the contents of strValue and not treat it as a literal.
|
||||
$strValue = eval($strValue); ## no critic (BuiltinFunctions::ProhibitStringyEval)
|
||||
|
||||
if ($@)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user