Help for this page

Select Code to Download


  1. or download this
     # extended LDIF
    #
    ...
                     'changes' => [],
                     'asn' => {
                                'objectName' => 'uid=userid,ou=help,dc=per
    +l,dc=monks',
    
  2. or download this
             #i.e. these work:
             print $entry->get_value("IdCreatedOn")."\n";
    ...
                     #but can't get the dn:
                     print $entry->get_value("dn")."\n";
                     print $entry->get_value("objectName")."\n";
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    
    print "here are all the dn's:"."\n";
    print @arrayOfDNs;
    
  4. or download this
    foreach my $key (keys %{$ldif}) {
        print "\n this is the key:" . $key . "\n";
    ...
        #}
        print "\n" . "\n";
    }