Hi,

How can i unsubscribe this mailling list .

Thanks






"Dagnicourt" <[EMAIL PROTECTED]> 
15/02/2006 12:17
Veuillez répondre à
"Dagnicourt" <[EMAIL PROTECTED]>


A
perl-ldap@perl.org
cc

Objet
Can't locate object method






Hello,

I'am trying the sample code in the documentation, and I get this error
message :
Can't locate object method "entry" via package "Net::LDAP::Bind" at
./ldap_test.pl line 7, <DATA> line 225.
Here the code :

use Net::LDAP;
my $ldap = Net::LDAP->new ( 'myldapserver' ) or die $!;
my $mesg = $ldap->bind ( 'o=CERA,o=directoryRoot');
if ( $error = $mesg->code ) {
    print "ERROR ", $mesg->code, "\n";
}
$entry = $mesg->entry;
$ldap->unbind;



Reply via email to