There's more than one way to do things | |
PerlMonks |
Re: Catalyst, LDAP User Auto_complete and arrays with grepby bluto (Curate) |
on Apr 04, 2006 at 17:55 UTC ( [id://541203]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|