From: Terence H. <ter...@ka...> - 2000-11-24 07:18:12
|
I have code the follwing and want to get the result of the compare : part of the code : $mesg = $ldap->compare(dn => 'cn=test2,o=kader,c=hk', attr => 'cn', value => 'test2' ); print $mesg; print "not 4" if $mesg->code; print "ok 4\n"; result : Net::LDAP::Compare=HASH(0x830dbd4)not 4ok 4 Can anyone tell me where I can find more info or just give me a short example. Best regards, Terence |