Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Parsing a Hash

by northwestdev (Acolyte)
on Jul 21, 2009 at 21:50 UTC ( [id://782099]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $nt = Net::Twitter->new(
       traits   => [qw/API::REST/],
    ...
    
    my $results = $nt->show_user($twitterID);
    print Dumper $results;
    
  2. or download this
    $VAR1 = { 'friends_count' => 6, 'profile_background_tile' => bless( do
    +{\(my $o = 0)}, 'JSON::XS::Boolean' ), 'status' => { 'source' => 'Per
    +l Net::Twitter', 'favorited' => $VAR1->{'profile_background_tile'}, '
    +truncated' => $VAR1->{'profile_background_tile'}, 'created_at' => 'Tu
    +e Jul 21 11:25:47 +0000 2009', 'text' => 'Checking server responses',
    + 'in_reply_to_user_id' => undef, 'id' => 2056026009, 'in_reply_to_sta
    +tus_id' => undef, 'in_reply_to_screen_name' => undef }, 'profile_imag
    +e_url' => 'http://s3.amazonaws.com/twitter_production/profile_images/
    +000000000/January-2008__2__normal.JPG', 'profile_sidebar_fill_color' 
    +=> 'e0ff92', 'profile_link_color' => '0000ff', 'profile_sidebar_borde
    +r_color' => '87bc44', 'created_at' => 'Thu Sep 11 23:45:20 +0000 2008
    +', 'profile_background_color' => '9ae4e8', 'utc_offset' => -28800, 'n
    +otifications' => $VAR1->{'profile_background_tile'}, 'url' => 'http:/
    +/www.mysite.com', 'verified' => $VAR1->{'profile_background_tile'}, '
    +id' => 16249787, 'following' => $VAR1->{'profile_background_tile'}, '
    +profile_background_image_url' => 'http://static.twitter.com/images/th
    +emes/theme1/bg.gif', 'screen_name' => 'myname', 'location' => 'WA', '
    +followers_count' => 13, 'name' => 'myname', 'protected' => $VAR1->{'p
    +rofile_background_tile'}, 'statuses_count' => 8, 'description' => 'Te
    +chnology', 'profile_text_color' => '000000', 'time_zone' => 'Pacific 
    +Time (US & Canada)', 'favourites_count' => 0 };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://782099]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found