xpender has asked for the wisdom of the Perl Monks concerning the following question:

Hello,
i want to code a IRC Bot that check each minute an DB, get the content and print it out into an IRC Channel!
The Problem, i dont know how i can make it, that the script each minute check the DB!
Can anybody help me?
For the IRC Connection i want to use POE!

greets xpender
  • Comment on Get each minute an text from DB and print it into an IRC Channel

Replies are listed 'Best First'.
Re: Get each minute an text from DB and print it into an IRC Channel
by atcroft (Abbot) on Jul 25, 2004 at 20:49 UTC

    Have you checked the POE website? The POE Cookbook includes examples of an IRC bot, of a process that repeats periodically, and of process making database calls. You may wish to look at these and other of the examples there for some ideas to work from.

    Hope that helps.

    (I would suggest you see examples in the cookbook under "IRC Programming," as well as that for "DBI Helper Processes," "Event Handlers," "Looping,", "Recurring Alarms," "Useful Things," and "Waiting".)

    Update (25 Jul 2004):
    Added list of possible examples to examine.

    A reply falls below the community's threshold of quality. You may see it by logging in.