mirror of
https://github.com/c-kr/check_json.git
synced 2024-11-23 02:43:48 +01:00
Revert "Fully specify hash reference to find $attribute."
This reverts commit f3233fb247
.
This commit is contained in:
parent
3c0e5b5252
commit
2e8e519493
@ -151,8 +151,8 @@ my $resultTmp;
|
||||
|
||||
foreach my $attribute (sort keys %attributes){
|
||||
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))};
|
||||
eval $check_value_str;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user