in reply to Getting values from hash
for my $search (@{ $result->[0]{trends} }) [download]
Thank you so much, it worked fine.
Every day I learn a bit more about perl thanks to gurus like you :)