Help for this page

Select Code to Download


  1. or download this
    my $data = $self->{'ldap'}->fetch(
        source => $self->{'config'}->{'ldap.base'},
        filter => "cn=$self->{'arg'}->{'host'}"
    );
    
  2. or download this
    $data = {
      'cn=hostA,ou=Hosts,dc=company,dc=com' = {
    ...
        ipAddress => '192.168.0.2',
      }
    }
    
  3. or download this
    map { $data = $data->{$_}; } keys %{$data};