1
0
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:
David Steele
2016-02-23 09:39:37 -05:00
parent 048571e23f
commit d4c46acf48
2 changed files with 2 additions and 4 deletions

View File

@@ -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 ($@)
{