Given the following dumper output is there a way to iterate through each hash to list only the items under each results->id record? I want to be able to say things like:
print $results{1342}{'domain'};
and have the statement return testing11.com as a result.
Would I have to first read through all of results array and then use $results[$counter]{id} to access the data in there ? I'm not sure how to proceed.
$VAR1 = {
'end_time' => 1466017739,
'options' => {
'hour_offset' => '00',
'timezone' => 'America/New_York'
},
'field_headers' => {
'priority' => 'Priority',
'status' => 'Status',
'assignee_external_id' => 'Assignee external id',
'initially_assigned_at' => 'Initially assigned at'
},
'results' => [
{
'priority' => 'High',
'status' => 'Open',
'domain' => 'testing11.com',
'generated_timestamp' => 1546547669,
'id' => 1342
},
{
'priority' => 'Low',
'status' => 'Open',
'domain' => 'testing22.com',
'generated_timestamp' => 1464567669,
'id' => 7062
},
{
'priority' => 'Low',
'status' => 'Closed',
'domain' => 'testing33.com',
'generated_timestamp' => 1464267669,
'id' => 432
}]
}