Brian Raven wrote:
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Campbell, Scott

> Sorry to be picky when you are trying to help somebody, but I have a
> couple of issues with your code.
> 
>> *******************************************************
>> =item B<ldap_authenticate()>
>>  
>> This method accepts a username, password, and an array of LDAP
> servers, in that order.  It returns a true/false > code, and a message.
>> IE: ldap_authenticate("[email protected]","MYPass",@dc_list)
> 
> That example call doesn't appear to match the parameters in the sub
> below.

It kinda does if it's a 'method' rather than a plain old sub.  Maybe better
written/documented in that case as:

        $obj->ldap_authenticate('[email protected]', 'MYPass', @dc_list)

>>  
>> =cut
>>  
>> sub ldap_authenticate{
>>                 my($class,$username,$password,@ldap_servers)=...@_;
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to