my $response = $do->domain_list(); for (@{ $response->{content} }) { say $_->{id}; } I think must say $_->{'name'};