in reply to Net::AIM Sorrows

I just checked quickly, and perlmonkscb uses $conn->set_handler('im_in', \&im_in); (and suchlike, of course). (I'd show my config handler, but I don't handle it.)

I think the specific problem is that getconn returns the active connection, and until you've start()ed, there is no active connection. OTOH, you /have/ done a newconn by then, so I could be wrong... I'm too lazy to take a better look right now.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).