Skip to content

Commit

Permalink
Fix typo preventing multiple being passed to new
Browse files Browse the repository at this point in the history
  • Loading branch information
gbarr committed Sep 11, 2002
1 parent 4353eb1 commit 8d4ec2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Net/LDAP.pm
Expand Up @@ -97,7 +97,7 @@ sub new {
my $obj = bless {}, $type;

foreach my $h (ref($host) ? @$host : ($host)) {
if ($obj->_connect($host, $arg)) {
if ($obj->_connect($h, $arg)) {
$obj->{net_ldap_host} = $h;
last;
}
Expand Down

0 comments on commit 8d4ec2d

Please sign in to comment.