I am having problems accessing the element name of the trend. I don't know how to do it I tried
for my $search ( @{$result->{trends}} ) but I get the error "Not a HASH reference"
$VAR1 = [
{
'locations' => [
{
'woeid' => 1,
'name' => 'Globales'
}
],
'created_at' => '2012-04-26T13:42:24Z',
'trends' => [
{
'events' => undef,
'query' => '%22A%20Picture%20Of%20Me%20Whe
+n%20I%20Was%22',
'promoted_content' => undef,
'name' => 'A Picture Of Me When I Was',
'url' => 'http://twitter.com/search/%s%22'
},
],
'as_of' => '2012-04-26T13:46:47Z'
}
];