On Tue, Dec 04, 2001 at 10:45:17AM -0700, Chris Fedde wrote: > > I did a POP proxy with POE last month. But time pressure was too > high to build the Net::LDAP interface I needed. So I fell back to > doing this tool with a select loop and forking It works well but > it hits kind of hard at peak usage. I have since read about the > work that has been done with DBI. Much of that seems similar to the > needs of LDAP. I plan to look at that before starting again. >
I haven't looked at the Net::LDAP code but it might be even easier. What I heard is that DBDs cannot be poe'ized as easily. Net::* stuff should be easier. But what prevents you from just porting Net::Cmd or LDAP is that they block. If you port the interface 1:1, users will either get annoyed quickly or will write functions to process cmd batches. I'm writing PoCoCl::FTP, you might want to take a look at it. It's alpha, but the cmd batch processing works. Might need some cleanup, and exttracting the relevant code to PoCoCl::NetCmd could be useful. Using NFA when it's changed might be good as well. You can get the sources from cvs, poeftp.sf.net. Contact me if interested. torvald
