From: Mark W. <mew...@un...> - 2000-07-23 02:13:00
|
Try this: use Net::LDAP; use Net::LDAP::Util #must import because Net::LDAP doesn't do automatically ... #should print human readable error messages: print "Error: ",Net:::LDAP::Util($result->code),"\n") if $result->code; Mark Kaouass Rachid wrote: > Hi, > > When I try to show the message of an error it is always an empty string > ? > ie. $mesg = ldap->add (.....); > $mesg->code && warn "erreur on ".$mesg->code." ".$mesg->error."\n"; > > should I install a package ? > > Thanks |