![]() |
|
more useful options | |
PerlMonks |
Net::LDAP doesn't return until end of loopby ypcat (Beadle) |
on Jun 28, 2003 at 03:07 UTC ( #269796=perlquestion: print w/replies, xml ) | Need Help?? |
ypcat has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
I am trying to get Net::LDAP to allow me to send many queries to an LDAP database and return each one of the queries attributes and values to STDOUT as it runs. Here is what I have tried so far and although it seems to be running every search query, it only writes to the screen the last query results.
For example, my macs.txt contains 10 Mac addresses. When they are sent to LDAP 1 at a time as you will see in the code below only the 10th MAC addresses attributes and values will be returned. Again my goal is to return all attributes and values from every query(all 10 macs).
I appreciate everyone's help. Here is the code.
Back to
Seekers of Perl Wisdom
|
|