On 25/11/04 11:38 am, Francisco Jose Bernabe Pellicer <[EMAIL PROTECTED]>
wrote:

> And what does the '5' stand for?
> 
> &debug( "\n\nFinished Updating res\n\n", 5);
> 
> Cheers,
> 
> Francisco.
> 

You're calling a debug *function* in your example, not Net::LDAP's debug
method..

Net::LDAP's debug method only takes one argument (except for the initial
argument that perl passes which references the object).

The debug method just sets the net_ldap_debug value of the object to the
first real argument you pass it. This value is then anded bit-wise with
various masks in other methods, in order to determine what debug info to
emit. The bit masks used are described in the documentation I quoted.

Cheers,

Chris


Reply via email to