http://www.perlmonks.org?node_id=989889


in reply to help to get hash elements

use feature ":5.14"; use warnings FATAL => qw(all); use strict; use Data::Dump qw(dump); my $h = { 'response' => { 'blogs' => [ { 'url' => 'equipo.tumblr.com', 'name' => 'equipo', 'updated' => 1346015230 }, { 'url' => 'linux.tumblr.com', 'name' => 'linuxmint', 'updated' => 1345967468 } ], }, }; say $_->{url} for @{$h->{response}->{blogs}};

Produces

equipo.tumblr.com linux.tumblr.com

The ->{} ->[] operators can be used to position yourself within the structure and for @{} and for keys %{} can be used to iterate through parts of it.