Greeting fellow monks,
In advanced, please forgive me if this message sounds retarted. I'm a Perl newbie, and came accross this great Perl riddle as I was constructng an AIM bot using the Net::AIM package. For those of you who know how to use Net::AIM, when I get the login information, and call the start() method, no other code excecutes. I did a little research and found out that calling start() initiates an infinite loop that checks the socket. One of the things I wanted to do with this bot is to log it onto multiple Screen Names. Since no other code will excecute after start() is called, I thought AH HA! I'M SMART! and tried to put start() in a seperate thread. I then promptly yelled DAMNIT! (and have since prayed to the Perl Gods to forgive me for such a savage act) when I saw the error in my MS DOS prompt window: "A thread exited before 2 other threads." I thought to myself "what the hell?"(and then prayed for forgiveness yet again).....I did some more research on threads in Perl, and came up with no other information than this: this is a really friggin' annoying error. Maybe the perl gods are punnishing me for my heathen ways. Can any of you monks enlighten me as to what i'm doing wrong? much thanks!
~Brian