Event driven programming in perl?
        Posted  
        
            by TheGNUGuy
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by TheGNUGuy
        
        
        
        Published on 2010-03-29T05:43:17Z
        Indexed on 
            2010/03/29
            6:53 UTC
        
        
        Read the original article
        Hit count: 251
        
Hey everyone,
I'm trying to make a jabber bot and I am having trouble keeping it running while waiting for messages. How do I get my script to continuously run? I have tried calling a subroutine that has a while loop that I , in theory, have set up to check for any messages and react accordingly but my script isn't behaving that way.
Here is my source: http://pastebin.com/03Habbvh
© Stack Overflow or respective owner