Help for this page

Select Code to Download


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