Skip Menu |

This queue is for tickets about the Test-Net-LDAP CPAN distribution.

Report information
The Basics
Id: 96932
Status: resolved
Priority: 0/
Queue: Test-Net-LDAP

People
Owner: MAHIRO [...] cpan.org
Requestors: PELLE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Net::LDAP->new() supports using a list (or rather: array ref) of hosts to connect to, like Net::LDAP->new(['host1', 'host2']). As Net::Test::LDAP::Mock only supports scalars as a host, you can't test any code using a list of hosts.
On Fri, 4 Jul 2014 10:51:39 GMT, PELLE wrote: Show quoted text
> Net::LDAP->new() supports using a list (or rather: array ref) of hosts > to connect to, like Net::LDAP->new(['host1', 'host2']). > > As Net::Test::LDAP::Mock only supports scalars as a host, you can't > test any code using a list of hosts.
Thanks for reporting. The support for array refs has been added to v0.03.