1
0
mirror of https://github.com/c-kr/check_json.git synced 2024-11-23 10:53:47 +01:00

Revert "Fully specify hash reference to find $attribute."

This reverts commit f3233fb247.
This commit is contained in:
Christopher Kreft 2016-08-15 13:40:22 +02:00
parent 3c0e5b5252
commit 2e8e519493

View File

@ -151,7 +151,7 @@ my $resultTmp;
foreach my $attribute (sort keys %attributes){ foreach my $attribute (sort keys %attributes){
my $check_value; my $check_value;
my $check_value_str = '$check_value = $json_response->{\'' . $attribute . '\'}'; my $check_value_str = '$check_value = $json_response->'.$attribute;
if ($np->opts->verbose) { (print Dumper ($check_value_str))}; if ($np->opts->verbose) { (print Dumper ($check_value_str))};
eval $check_value_str; eval $check_value_str;