Bot-BasicBot

 view release on metacpan or  search on metacpan

examples/cpanbot.pl  view on Meta::CPAN


# This bot should not be run by any sane person. Really. The original idea
# was to join to a channel a bot for every module in CPAN, and have them
# announce when new versions of themselves were released, etc, etc. I can't
# remember who had this insane idea, probably sky. Anyway, this is proof of
# concept code, and inspired the changes in the source that let you put >1
# BasicBot in a single POE session.

# The problem is that with more than 30 or 40 running bots, even on the same
# machine as the IRC server, the latencies get insane. You just can't keep
# them all alive enough to stay connected and not time-out. So the idea was
# a non-starter, because I'm not running a process on the server for every
# module on CPAN. But I can think of some cases where you'd want to run 2 or
# 3 bots in a single session, to bridge networks, say, that sort of thing,
# and so heere's how I'd do it...

# Probably, this does not work.

# The bot moudle itself.

package CPANBot;



( run in 2.187 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )