Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^3: explore a complexe hash structure return by Webservices::GData::YouTube

by Anonymous Monk
on Dec 11, 2012 at 09:11 UTC ( #1008244=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
        foreach my $video (@$videos) {
            say $video->video_id;
            say $video->favorite_count;
            say $video->duration;
  2. or download this
    91:ok( @{ $entry->thumbnails } == 5, 'number of thumbnails is right.' 
    93:ok($entry->thumbnails->[0]->url eq '
    +LE/default.jpg','thumbnail is properly set.');
  3. or download this
               my $thumbs =$video->thumbnails;
               foreach my $thumb (@$thumbs) {
                    say $thumb->width;
                    say $thumb->height;
  4. or download this
    #!/usr/bin/perl --
    use strict;
    use warnings;
    #~         say $thumb->height;
    } ## end sub display_video

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008244]
[moritz]: seems there's a size limit for hostenum, and the error message just sucks
[vrk]: None, other than the location of the error: auto/NetAddr/IP/
[vrk]: Aha, there's a reference to "bug report 82719" in NetAddr/'s sub _splitref.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2017-04-25 07:37 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (449 votes). Check out past polls.