<?xml version="1.0" encoding="windows-1252"?>
<node id="1007978" title="explore a complexe hash structure return by Webservices::GData::YouTube" created="2012-12-09 08:28:07" updated="2012-12-09 08:28:07">
<type id="115">
perlquestion</type>
<author id="1007976">
roidlagratte</author>
<data>
<field name="doctext">
&lt;p&gt;Hi everybody !&lt;br /&gt;
I used Webservices::GData::YouTube to retrieve some informations on the web site Youtube.&lt;br /&gt; I can retrieve some data from the hash return by query and search_video (for exemple i can retrieve with ${hash}{'_entity'}{'children'}[4]{'array'}[0]['scheme'} who return http://schemas.google.com/g/2005#kind ) but i can retrieve the url thumbnail in 480 or other pixels size. &lt;br /&gt;I suspect the usage of Webservices::GData::Node::Atom::Id necessary and i thing it's only a problem to explore the hash. but i can find some help on the man page of this module&lt;br /&gt; If someone could help me i would be very graceful. Below a Dump of the hash generate by Data::Dumper.&lt;br /&gt;
Thanks very much and sorry for my bad english. &lt;br /&gt;
Nono&lt;br /&gt; &lt;/p&gt;
&lt;code&gt;
$VAR1 = [
          bless( {
                   '_recorded' =&gt; bless( {
                                           '_children' =&gt; [],
                                           'namespaces' =&gt; {}
                                         }, 'WebService::GData::YouTube::YT::Recorded' ),
                   '_updated' =&gt; bless( {
                                          'text' =&gt; '2012-12-09T11:52:45.000Z',
                                          '_children' =&gt; [],
                                          'namespaces' =&gt; {}
                                        }, 'WebService::GData::Node::Atom::Updated' ),
                   '_title' =&gt; bless( {
                                        'text' =&gt; 'Robert Palmer - Addicted To Love',
                                        '_children' =&gt; [],
                                        'namespaces' =&gt; {}
                                      }, 'WebService::GData::Node::Atom::Title' ),
                   '_id' =&gt; bless( {
                                     'text' =&gt; 'tag:youtube.com,2008:video:XcATvu5f9vE',
                                     '_children' =&gt; [],
                                     'namespaces' =&gt; {}
                                   }, 'WebService::GData::Node::Atom::Id' ),
                   '_entity' =&gt; bless( {
                                         'gd:etag' =&gt; 'W/"CU4CRH47eCp7I2A9WhNWEEg."',
                                         '_children' =&gt; [
                                                          bless( {
                                                                   'text' =&gt; '2009-12-25T07:54:08.000Z',
                                                                   '_children' =&gt; [],
                                                                   'namespaces' =&gt; {}
                                                                 }, 'WebService::GData::Node::Atom::Published' ),
                                                          bless( {
                                                                   '_children' =&gt; [],
                                                                   'namespaces' =&gt; {}
                                                                 }, 'WebService::GData::Node::Atom::Summary' ),
                                                          bless( {
                                                                   'src' =&gt; 'http://www.youtube.com/v/XcATvu5f9vE?version=3&amp;f=videos&amp;app=youtube_gdata',
                                                                   '_children' =&gt; [],
                                                                   'type' =&gt; 'application/x-shockwave-flash',
                                                                   'namespaces' =&gt; {}
                                                                 }, 'WebService::GData::Node::Atom::Content' ),
                                                          bless( {
                                                                   'array' =&gt; [
                                                                                bless( {
                                                                                         '_name' =&gt; bless( {
                                                                                                             'text' =&gt; 'RobertPalmerVEVO',
                                                                                                             '_children' =&gt; [],
                                                                                                             'namespaces' =&gt; {}
                                                                                                           }, 'WebService::GData::Node::Atom::Name' ),
                                                                                         '_uri' =&gt; bless( {
                                                                                                            'text' =&gt; 'http://gdata.youtube.com/feeds/api/users/RobertPalmerVEVO',
                                                                                                            '_children' =&gt; [],
                                                                                                            'namespaces' =&gt; {}
                                                                                                          }, 'WebService::GData::Node::Atom::Uri' ),
                                                                                         '_entity' =&gt; bless( {
                                                                                                               '_children' =&gt; [
                                                                                                                                $VAR1-&gt;[0]{'_entity'}{'_children'}[3]{'array'}[0]{'_name'},
                                                                                                                                $VAR1-&gt;[0]{'_entity'}{'_children'}[3]{'array'}[0]{'_uri'}
                                                                                                                              ],
                                                                                                               'namespaces' =&gt; {}
                                                                                                             }, 'WebService::GData::Node::Atom::Author' )
                                                                                       }, 'WebService::GData::Node::Atom::AuthorEntity' )
                                                                              ],
                                                                   'cache' =&gt; {}
                                                                 }, 'WebService::GData::Collection' ),
                                                          bless( {
                                                                   'array' =&gt; [
                                                                                bless( {
                                                                                         '_children' =&gt; [],
                                                                                         'scheme' =&gt; 'http://schemas.google.com/g/2005#kind',
                                                                                         'term' =&gt; 'http://gdata.youtube.com/schemas/2007#video',
                                                                                         'namespaces' =&gt; {}
                                                                                       }, 'WebService::GData::Node::Atom::Category' ),
                                                                                bless( {
                                                                                         '_children' =&gt; [],
                                                                                         'label' =&gt; 'Music',
                                                                                         'scheme' =&gt; 'http://gdata.youtube.com/schemas/2007/categories.cat',
                                                                                         'term' =&gt; 'Music',
                                                                                         'namespaces' =&gt; {}
                                                                                       }, 'WebService::GData::Node::Atom::Category' )
                                                                              ],
                                                                   'cache' =&gt; {}
                                                                 }, 'WebService::GData::Collection' ),
                                                          $VAR1-&gt;[0]{'_id'},
                                                          bless( {
                                                                   'array' =&gt; [
                                                                                bless( {
                                                                                         'rel' =&gt; 'alternate',
                                                                                         'href' =&gt; 'http://www.youtube.com/watch?v=XcATvu5f9vE&amp;feature=youtube_gdata',
                                                                                         '_children' =&gt; [],
                                                                                         'type' =&gt; 'text/html',
                                                                                         'namespaces' =&gt; {}
                                                                                       }, 'WebService::GData::Node::Atom::Link' ),
                                                                                bless( {
                                                                                         'rel' =&gt; 'http://gdata.youtube.com/schemas/2007#video.responses',
                                                                                         'href' =&gt; 'http://gdata.youtube.com/feeds/api/videos/XcATvu5f9vE/responses',
                                                                                         '_children' =&gt; [],
                                                                                         'type' =&gt; 'application/atom+xml',
                                                                                         'namespaces' =&gt; {}
                                                                                       }, 'WebService::GData::Node::Atom::Link' ),
                                                                                bless( {
                                                                                         'rel' =&gt; 'http://gdata.youtube.com/schemas/2007#video.related',
                                                                                         'href' =&gt; 'http://gdata.youtube.com/feeds/api/videos/XcATvu5f9vE/related',
                                                                                         '_children' =&gt; [],
                                                                                         'type' =&gt; 'application/atom+xml',
                                                                                         'namespaces' =&gt; {}
                                                                                       }, 'WebService::GData::Node::Atom::Link' ),
                                                                                bless( {
                                                                                         'rel' =&gt; 'http://gdata.youtube.com/schemas/2007#uploader',
                                                                                         'href' =&gt; 'http://gdata.youtube.com/feeds/api/users/2cgN9BQEA14z3ryXNmJjkA',
                                                                                         '_children' =&gt; [],
                                                                                         'type' =&gt; 'application/atom+xml',
                                                                                         'namespaces' =&gt; {}
                                                                                       }, 'WebService::GData::Node::Atom::Link' ),
                                                                                bless( {
                                                                                         'rel' =&gt; 'self',
                                                                                         'href' =&gt; 'http://gdata.youtube.com/feeds/api/videos/XcATvu5f9vE',
                                                                                         '_children' =&gt; [],
                                                                                         'type' =&gt; 'application/atom+xml',
                                                                                         'namespaces' =&gt; {}
                                                                                       }, 'WebService::GData::Node::Atom::Link' )
                                                                              ],
                                                                   'cache' =&gt; {}
                                                                 }, 'WebService::GData::Collection' ),
                                                          $VAR1-&gt;[0]{'_title'},
                                                          $VAR1-&gt;[0]{'_updated'},
                                                          bless( {
                                                                   '_duration' =&gt; bless( {
                                                                                           'seconds' =&gt; '236',
                                                                                           '_children' =&gt; [],
                                                                                           'namespaces' =&gt; {}
                                                                                         }, 'WebService::GData::YouTube::YT::Duration' ),
                                                                   '_description' =&gt; bless( {
                                                                                              'text' =&gt; 'Music video by Robert Palmer performing Addicted To Love. (C) 1985 The Island Def Jam Music Group',
                                                                                              '_children' =&gt; [],
                                                                                              'type' =&gt; 'plain',
                                                                                              'namespaces' =&gt; {}
                                                                                            }, 'WebService::GData::Node::Media::Description' ),
                                                                   '_title' =&gt; bless( {
                                                                                        'text' =&gt; 'Robert Palmer - Addicted To Love',
                                                                                        '_children' =&gt; [],
                                                                                        'type' =&gt; 'plain',
                                                                                        'namespaces' =&gt; {}
                                                                                      }, 'WebService::GData::Node::Media::Title' ),
                                                                   '_aspect_ratio' =&gt; bless( {
                                                                                               '_children' =&gt; [],
                                                                                               'namespaces' =&gt; {}
                                                                                             }, 'WebService::GData::YouTube::YT::AspectRatio' ),
                                                                   '_thumbnail' =&gt; bless( {
                                                                                            'array' =&gt; [
                                                                                                         bless( {
                                                                                                                  'yt:name' =&gt; 'default',
                                                                                                                  'width' =&gt; 120,
                                                                                                                  'time' =&gt; '00:01:58',
                                                                                                                  '_children' =&gt; [],
                                                                                                                  'url' =&gt; 'http://i.ytimg.com/vi/XcATvu5f9vE/default.jpg',
                                                                                                                  'height' =&gt; 90,
                                                                                                                  'namespaces' =&gt; {}
                                                                                                                }, 'WebService::GData::Node::Media::Thumbnail' ),
                                                                                                         bless( {
                                                                                                                  'yt:name' =&gt; 'mqdefault',
                                                                                                                  'width' =&gt; 320,
                                                                                                                  '_children' =&gt; [],
                                                                                                                  'url' =&gt; 'http://i.ytimg.com/vi/XcATvu5f9vE/mqdefault.jpg',
                                                                                                                  'height' =&gt; 180,
                                                                                                                  'namespaces' =&gt; {}
                                                                                                                }, 'WebService::GData::Node::Media::Thumbnail' ),
                                                                                                         bless( {
                                                                                                                  'yt:name' =&gt; 'hqdefault',
                                                                                                                  'width' =&gt; 480,
                                                                                                                  '_children' =&gt; [],
                                                                                                                  'url' =&gt; 'http://i.ytimg.com/vi/XcATvu5f9vE/hqdefault.jpg',
                                                                                                                  'height' =&gt; 360,
                                                                                                                  'namespaces' =&gt; {}
                                                                                                                }, 'WebService::GData::Node::Media::Thumbnail' ),
                                                                                                         bless( {
                                                                                                                  'yt:name' =&gt; 'start',
                                                                                                                  'width' =&gt; 120,
                                                                                                                  'time' =&gt; '00:00:59',
                                                                                                                  '_children' =&gt; [],
                                                                                                                  'url' =&gt; 'http://i.ytimg.com/vi/XcATvu5f9vE/1.jpg',
                                                                                                                  'height' =&gt; 90,
                                                                                                                  'namespaces' =&gt; {}
                                                                                                                }, 'WebService::GData::Node::Media::Thumbnail' ),
                                                                                                         bless( {
                                                                                                                  'yt:name' =&gt; 'middle',
                                                                                                                  'width' =&gt; 120,
                                                                                                                  'time' =&gt; '00:01:58',
                                                                                                                  '_children' =&gt; [],
                                                                                                                  'url' =&gt; 'http://i.ytimg.com/vi/XcATvu5f9vE/2.jpg',
                                                                                                                  'height' =&gt; 90,
                                                                                                                  'namespaces' =&gt; {}
                                                                                                                }, 'WebService::GData::Node::Media::Thumbnail' ),
                                                                                                         bless( {
                                                                                                                  'yt:name' =&gt; 'end',
                                                                                                                  'width' =&gt; 120,
                                                                                                                  'time' =&gt; '00:02:57',
                                                                                                                  '_children' =&gt; [],
                                                                                                                  'url' =&gt; 'http://i.ytimg.com/vi/XcATvu5f9vE/3.jpg',
                                                                                                                  'height' =&gt; 90,
                                                                                                                  'namespaces' =&gt; {}
                                                                                                                }, 'WebService::GData::Node::Media::Thumbnail' )
                                                                                                       ],
                                                                                            'cache' =&gt; {}
                                                                                          }, 'WebService::GData::Collection' ),
                                                                   '_entity' =&gt; bless( {
                                                                                         '_children' =&gt; [
                                                                                                          bless( {
                                                                                                                   'array' =&gt; [
                                                                                                                                bless( {
                                                                                                                                         'text' =&gt; 'Music',
                                                                                                                                         '_children' =&gt; [],
                                                                                                                                         'scheme' =&gt; 'http://gdata.youtube.com/schemas/2007/categories.cat',
                                                                                                                                         'label' =&gt; 'Music',
                                                                                                                                         'namespaces' =&gt; {}
                                                                                                                                       }, 'WebService::GData::Node::Media::Category' )
                                                                                                                              ],
                                                                                                                   'cache' =&gt; {}
                                                                                                                 }, 'WebService::GData::Collection' ),
                                                                                                          bless( {
                                                                                                                   'array' =&gt; [
                                                                                                                                bless( {
                                                                                                                                         'text' =&gt; 'DE',
                                                                                                                                         'relationship' =&gt; 'deny',
                                                                                                                                         '_children' =&gt; [],
                                                                                                                                         'type' =&gt; 'country',
                                                                                                                                         'namespaces' =&gt; {}
                                                                                                                                       }, 'WebService::GData::Node::Media::Restriction' )
                                                                                                                              ],
                                                                                                                   'cache' =&gt; {}
                                                                                                                 }, 'WebService::GData::Collection' ),
                                                                                                          $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_thumbnail'},
                                                                                                          bless( {
                                                                                                                   'array' =&gt; [
                                                                                                                                bless( {
                                                                                                                                         'yt:type' =&gt; 'partner',
                                                                                                                                         'text' =&gt; 'robertpalmervevo',
                                                                                                                                         '_children' =&gt; [],
                                                                                                                                         'scheme' =&gt; 'urn:youtube',
                                                                                                                                         'role' =&gt; 'uploader',
                                                                                                                                         'yt:display' =&gt; 'RobertPalmerVEVO',
                                                                                                                                         'namespaces' =&gt; {}
                                                                                                                                       }, 'WebService::GData::Node::Media::Credit' )
                                                                                                                              ],
                                                                                                                   'cache' =&gt; {}
                                                                                                                 }, 'WebService::GData::Collection' ),
                                                                                                          bless( {
                                                                                                                   'array' =&gt; [
                                                                                                                                bless( {
                                                                                                                                         '_children' =&gt; [],
                                                                                                                                         'yt:format' =&gt; 5,
                                                                                                                                         'duration' =&gt; 236,
                                                                                                                                         'isDefault' =&gt; 'true',
                                                                                                                                         'expression' =&gt; 'full',
                                                                                                                                         'url' =&gt; 'http://www.youtube.com/v/XcATvu5f9vE?version=3&amp;f=videos&amp;app=youtube_gdata',
                                                                                                                                         'medium' =&gt; 'video',
                                                                                                                                         'type' =&gt; 'application/x-shockwave-flash',
                                                                                                                                         'namespaces' =&gt; {}
                                                                                                                                       }, 'WebService::GData::Node::Media::Content' )
                                                                                                                              ],
                                                                                                                   'cache' =&gt; {}
                                                                                                                 }, 'WebService::GData::Collection' ),
                                                                                                          bless( {
                                                                                                                   '_children' =&gt; [],
                                                                                                                   'url' =&gt; 'http://www.youtube.com/watch?v=XcATvu5f9vE&amp;feature=youtube_gdata_player',
                                                                                                                   'namespaces' =&gt; {}
                                                                                                                 }, 'WebService::GData::Node::Media::Player' ),
                                                                                                          $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_title'},
                                                                                                          $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_description'},
                                                                                                          bless( {
                                                                                                                   '_children' =&gt; [],
                                                                                                                   'namespaces' =&gt; {}
                                                                                                                 }, 'WebService::GData::Node::Media::Keywords' )
                                                                                                        ],
                                                                                         'namespaces' =&gt; {}
                                                                                       }, 'WebService::GData::Node::Media::Group' ),
                                                                   '_category' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_entity'}{'_children'}[0],
                                                                   '_player' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_entity'}{'_children'}[5],
                                                                   '_content' =&gt; bless( {
                                                                                          'array' =&gt; [
                                                                                                       bless( {
                                                                                                                '_children' =&gt; [],
                                                                                                                'namespaces' =&gt; {}
                                                                                                              }, 'WebService::GData::YouTube::YT::Media::Content' )
                                                                                                     ],
                                                                                          'cache' =&gt; {}
                                                                                        }, 'WebService::GData::Collection' ),
                                                                   '_keywords' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_entity'}{'_children'}[8],
                                                                   '_uploaded' =&gt; bless( {
                                                                                           'text' =&gt; '2009-12-25T07:54:08.000Z',
                                                                                           '_children' =&gt; [],
                                                                                           'namespaces' =&gt; {}
                                                                                         }, 'WebService::GData::YouTube::YT::Uploaded' ),
                                                                   '_videoid' =&gt; bless( {
                                                                                          'text' =&gt; 'XcATvu5f9vE',
                                                                                          '_children' =&gt; [],
                                                                                          'namespaces' =&gt; {}
                                                                                        }, 'WebService::GData::YouTube::YT::Videoid' ),
                                                                   '_restriction' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_entity'}{'_children'}[1],
                                                                   '_credit' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_entity'}{'_children'}[3]
                                                                 }, 'WebService::GData::YouTube::YT::GroupEntity' ),
                                                          bless( {
                                                                   '_children' =&gt; [],
                                                                   'numLikes' =&gt; '22682',
                                                                   'numDislikes' =&gt; '293',
                                                                   'namespaces' =&gt; {}
                                                                 }, 'WebService::GData::YouTube::YT::Rating' ),
                                                          $VAR1-&gt;[0]{'_recorded'}
                                                        ],
                                         'namespaces' =&gt; {}
                                       }, 'WebService::GData::Node::Atom::Entry' ),
                   '_summary' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[1],
                   '_category' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[4],
                   '_content' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[2],
                   '_serializer' =&gt; 'xml',
                   '_link' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[6],
                   '_feed' =&gt; {
                                'yt$statistics' =&gt; {
                                                     'viewCount' =&gt; '6563309',
                                                     'favoriteCount' =&gt; '0'
                                                   },
                                'link' =&gt; [
                                            $VAR1-&gt;[0]{'_entity'}{'_children'}[6]{'array'}[0],
                                            $VAR1-&gt;[0]{'_entity'}{'_children'}[6]{'array'}[1],
                                            $VAR1-&gt;[0]{'_entity'}{'_children'}[6]{'array'}[2],
                                            $VAR1-&gt;[0]{'_entity'}{'_children'}[6]{'array'}[3],
                                            $VAR1-&gt;[0]{'_entity'}{'_children'}[6]{'array'}[4]
                                          ],
                                'gd$comments' =&gt; {
                                                   'gd$feedLink' =&gt; {
                                                                      'rel' =&gt; 'http://gdata.youtube.com/schemas/2007#comments',
                                                                      'href' =&gt; 'http://gdata.youtube.com/feeds/api/videos/XcATvu5f9vE/comments',
                                                                      'countHint' =&gt; 4895
                                                                    }
                                                 },
                                'yt$accessControl' =&gt; [
                                                        {
                                                          'permission' =&gt; 'allowed',
                                                          'action' =&gt; 'comment'
                                                        },
                                                        {
                                                          'permission' =&gt; 'allowed',
                                                          'action' =&gt; 'commentVote'
                                                        },
                                                        {
                                                          'permission' =&gt; 'allowed',
                                                          'action' =&gt; 'videoRespond'
                                                        },
                                                        {
                                                          'permission' =&gt; 'allowed',
                                                          'action' =&gt; 'rate'
                                                        },
                                                        {
                                                          'permission' =&gt; 'allowed',
                                                          'action' =&gt; 'embed'
                                                        },
                                                        {
                                                          'permission' =&gt; 'allowed',
                                                          'action' =&gt; 'list'
                                                        },
                                                        {
                                                          'permission' =&gt; 'allowed',
                                                          'action' =&gt; 'autoPlay'
                                                        },
                                                        {
                                                          'permission' =&gt; 'allowed',
                                                          'action' =&gt; 'syndicate'
                                                        }
                                                      ],
                                'app$control' =&gt; {
                                                   'yt$state' =&gt; {
                                                                   '$t' =&gt; 'Syndication of this video was restricted.',
                                                                   'name' =&gt; 'restricted',
                                                                   'reasonCode' =&gt; 'limitedSyndication'
                                                                 }
                                                 },
                                'gd$etag' =&gt; 'W/"CU4CRH47eCp7I2A9WhNWEEg."',
                                'content' =&gt; {
                                               'src' =&gt; 'http://www.youtube.com/v/XcATvu5f9vE?version=3&amp;f=videos&amp;app=youtube_gdata',
                                               'type' =&gt; 'application/x-shockwave-flash'
                                             },
                                'gd$rating' =&gt; {
                                                 'rel' =&gt; 'http://schemas.google.com/g/2005#overall',
                                                 'numRaters' =&gt; 22975,
                                                 'average' =&gt; '4.9490314',
                                                 'min' =&gt; 1,
                                                 'max' =&gt; 5
                                               },
                                'author' =&gt; [
                                              $VAR1-&gt;[0]{'_entity'}{'_children'}[3]{'array'}[0]
                                            ],
                                'published' =&gt; {
                                                 'text' =&gt; '2009-12-25T07:54:08.000Z'
                                               },
                                'media$group' =&gt; {
                                                   'media$player' =&gt; {
                                                                       'url' =&gt; 'http://www.youtube.com/watch?v=XcATvu5f9vE&amp;feature=youtube_gdata_player'
                                                                     },
                                                   'media$description' =&gt; {
                                                                            'text' =&gt; 'Music video by Robert Palmer performing Addicted To Love. (C) 1985 The Island Def Jam Music Group',
                                                                            'type' =&gt; 'plain'
                                                                          },
                                                   'yt$videoid' =&gt; {
                                                                     'text' =&gt; 'XcATvu5f9vE'
                                                                   },
                                                   'yt$duration' =&gt; {
                                                                      'seconds' =&gt; '236'
                                                                    },
                                                   'media$content' =&gt; [
                                                                        $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_content'}{'array'}[0]
                                                                      ],
                                                   'yt$uploaderId' =&gt; {
                                                                        '$t' =&gt; 'UC2cgN9BQEA14z3ryXNmJjkA'
                                                                      },
                                                   'media$license' =&gt; {
                                                                        'href' =&gt; 'http://www.youtube.com/t/terms',
                                                                        '$t' =&gt; 'youtube',
                                                                        'type' =&gt; 'text/html'
                                                                      },
                                                   'media$category' =&gt; [
                                                                         $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_entity'}{'_children'}[0]{'array'}[0]
                                                                       ],
                                                   'media$keywords' =&gt; {},
                                                   'media$title' =&gt; {
                                                                      'text' =&gt; 'Robert Palmer - Addicted To Love',
                                                                      'type' =&gt; 'plain'
                                                                    },
                                                   'media$credit' =&gt; [
                                                                       $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_entity'}{'_children'}[3]{'array'}[0]
                                                                     ],
                                                   'media$restriction' =&gt; [
                                                                            $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_entity'}{'_children'}[1]{'array'}[0]
                                                                          ],
                                                   'media$thumbnail' =&gt; [
                                                                          $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_thumbnail'}{'array'}[0],
                                                                          $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_thumbnail'}{'array'}[1],
                                                                          $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_thumbnail'}{'array'}[2],
                                                                          $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_thumbnail'}{'array'}[3],
                                                                          $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_thumbnail'}{'array'}[4],
                                                                          $VAR1-&gt;[0]{'_entity'}{'_children'}[9]{'_thumbnail'}{'array'}[5]
                                                                        ],
                                                   'yt$uploaded' =&gt; {
                                                                      'text' =&gt; '2009-12-25T07:54:08.000Z'
                                                                    }
                                                 },
                                'id' =&gt; {
                                          'text' =&gt; 'tag:youtube.com,2008:video:XcATvu5f9vE'
                                        },
                                'updated' =&gt; {
                                               'text' =&gt; '2012-12-09T11:52:45.000Z'
                                             },
                                'category' =&gt; [
                                                $VAR1-&gt;[0]{'_entity'}{'_children'}[4]{'array'}[0],
                                                $VAR1-&gt;[0]{'_entity'}{'_children'}[4]{'array'}[1]
                                              ],
                                'title' =&gt; {
                                             'text' =&gt; 'Robert Palmer - Addicted To Love'
                                           },
                                'yt$rating' =&gt; {
                                                 'numLikes' =&gt; '22682',
                                                 'numDislikes' =&gt; '293'
                                               }
                              },
                   '_rating' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[10],
                   '_author' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[3],
                   '_published' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[0],
                   '_media' =&gt; $VAR1-&gt;[0]{'_entity'}{'_children'}[9],
                   '_request' =&gt; bless( {
                                          '_basequery' =&gt; bless( {
                                                                   'maxresults' =&gt; 1,
                                                                   '_query' =&gt; {
                                                                                 'strict' =&gt; 'true',
                                                                                 'alt' =&gt; 'json',
                                                                                 'start-index' =&gt; 1,
                                                                                 'q' =&gt; 'robert palmer',
                                                                                 'prettyprint' =&gt; 'false',
                                                                                 'v' =&gt; 2,
                                                                                 'max-results' =&gt; 1
                                                                               }
                                                                 }, 'WebService::GData::YouTube::Query' ),
                                          '__AUTH__' =&gt; undef,
                                          '__COMPRESSION__' =&gt; 'false',
                                          '__UA_NAME__' =&gt; '',
                                          '__URI__' =&gt; 'http://gdata.youtube.com/feeds/api/videos/',
                                          '__UA__' =&gt; bless( {
                                                               'max_redirect' =&gt; 7,
                                                               'protocols_forbidden' =&gt; undef,
                                                               'no_proxy' =&gt; [],
                                                               'protocols_allowed' =&gt; undef,
                                                               'use_eval' =&gt; 1,
                                                               'requests_redirectable' =&gt; [
                                                                                            'GET',
                                                                                            'HEAD'
                                                                                          ],
                                                               'from' =&gt; undef,
                                                               'timeout' =&gt; 180,
                                                               'agent' =&gt; 'WebService::GData::Base/0.0203',
                                                               'def_headers' =&gt; undef,
                                                               'parse_head' =&gt; 1,
                                                               'proxy' =&gt; {},
                                                               'max_size' =&gt; undef
                                                             }, 'LWP::UserAgent' ),
                                          '__OVERRIDE__' =&gt; 'false'
                                        }, 'WebService::GData::Base' )
                 }, 'WebService::GData::YouTube::Feed::Video' )
        ];

&lt;/code&gt;</field>
</data>
</node>
