I am trying to parse the following kind of data structure:
$VAR1 = {
'ID' => 'booshoe37',
'ut_response' => [
{
'friend_list' => {
'friend' => [
{
'fri
+end_count' => '97',
'use
+r' => '4Article1',
'vid
+eo_upload_count' => '0',
'fav
+orite_count' => '26'
},
{
'fri
+end_count' => '29',
'use
+r' => 'Annberly14',
'vid
+eo_upload_count' => '6',
'fav
+orite_count' => '255'
},
{
'fri
+end_count' => '97',
'use
+r' => 'DamiansChannel',
'vid
+eo_upload_count' => '3',
'fav
+orite_count' => '21'
},
{
'fri
+end_count' => '3',
'use
+r' => 'MaddieEgan',
'vid
+eo_upload_count' => '1',
'fav
+orite_count' => '0'
},
...
i'd like to be able to iterate through each of the entries in the 'friend' field, and handle each individually. the problem is, i have no idea how to do so. There is a difficult number of references here, and i have no idea what to foreach. can anyone help?