in reply to Check either keys are exists
Hello ravi45722,
This line:
my @occured_errors = keys $OTAF_data{'Errors'};
should be giving you a keys on reference is experimental message. Change to the standard hash dereference syntax:
my @occured_errors = keys %{ $OTAF_data{'Errors'} };
and the error (i.e., the original problem) should go away, even when there is no Errors key present in the hash.
Update: Added the underlined phrase for clarification.
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|