- or download this
foreach my $r (keys %$result){
print $r->result->{Person}->{commonname};
}
- or download this
foreach my $r ($result->result){
print $r->{Person}->{commonname};
}
- or download this
foreach my $r (@$result){
print $r->result->{Person}->{commonname};
}
- or download this
$VAR1 = {
...
'telephonenumber' => '1234576',
'surname' => 'Birkinshaw'
}
- or download this
print $result->result->{Person}[1]->{commonname};