Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

The short answer is that POE gives you more options once you've decided that you want to write more than one-off IRC bots that don't do much more than IRC.

For example, pastebot and memephage are IRC bots that are also web servers. If you want your bot to respond on AIM or Jabber as well as it does in IRC, you can mix in POE::Component::OSCAR or POE::Component::Jabber. If you'd like to control your bot from a terminal, Term::Visual is an irssi-like console interface you can use with POE. POE::Component::Server::HTTP might be useful if you want bots with web-based control panels. POE::Component::Client::Rcon can be used to write bots that report game server status. Combine your bot with POE::Component::Server::IRC to use it as a bouncer, or maybe as a virtual IRC server that aggregates traffic on multiple channels. Use POE::Component::IKC::Server or POE::Component::Lightspeed to network many bots together, but only use these powers for good. Take advantage of POE's Tk or Gtk support to write graphical IRC clients. Or Gtk2, with or without POE::Session::GladeXML2 to automate the interface interaction. Bolt on POE::Component::Server::TCP so you can telnet into the bot in emergencies. Maybe you want to add POE::Component::SSLify to encrypt those connections. Create an IRC-controlled jukebox with POE::Component::Player::Mpg123, POE::Component::Player::Musicus, or POE::Component::Player::Xmms. Blah, blah, blah.

By the way, you should be sure to register a signal handler for SIGCHLD if you're working with child processes. If your zombies problem persists, and you're not just complaining for the sport of it, post a test case to POE's RT queue at rt.cpan.org.

Thanks.


In reply to Re^2: Using POE::Component::IRC by rcaputo
in thread Using POE::Component::IRC by dReKurCe

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found