Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Catalyst, LDAP User Auto_complete and arrays with grep

by bluto (Curate)
on Apr 04, 2006 at 17:55 UTC ( #541203=note: print w/ replies, xml ) Need Help??


in reply to Catalyst, LDAP User Auto_complete and arrays with grep

Any advice on handling an array of this size if the LDAP search returns "many" users?

Will the "callback" option of Net::LDAP's search method help? It will allow you to handle the entries one at a time as they are returned. You can build an array, or even serialize them to disk if find out the array is getting large. If you must keep a large number of entries in memory then it may not be worth it.


Comment on Re: Catalyst, LDAP User Auto_complete and arrays with grep

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://541203]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-07-04 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls