From: <ms...@ma...> - 2000-08-17 07:37:34
|
hi folks, consider the following code fragment: my($result) = $ldap->add(dn=>...,attr=>...); print $result->code, $result->error; ok, the code got displayed, (some number, 65 for me this time, but nothing from error). i assume anything other than 0 should be some sort of problem. but how do i lookup what these numbers mean (for error handling)? specifically, pls show me how to use Constant package, if that is the way to go. thanx a lot. manuel. _____________________________________________________________ Global Virtual Desktop Get your free Desktop at http://www.magicaldesk.com |