The stupid question is the question not asked | |
PerlMonks |
Re: Net::LDAP doesn't return until end of loopby archon (Monk) |
on Jun 28, 2003 at 03:35 UTC ( [id://269798]=note: print w/replies, xml ) | Need Help?? |
hmm, hard to say given the information. have you tried with just one mac address? what does your data look like? i notice you're not chomping the $mac. also, you have: my @attrs = ['username', 'plan', 'ipaddress']; when i think you want $attrs. (same in ldapsearch). does it print the $mac each time for $ldapsearch? try putting an else in the callback that prints something.. perhaps it's just not getting an entry for some reason.
HTH
In Section
Seekers of Perl Wisdom
|
|