27 Apr 2017 14:26:31 UTC
- Distribution: POE-Component-IRC-Service
- Module version: 0.998
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Testers (476 / 0 / 0)
- KwaliteeBus factor: 1
- 17.02% Coverage
- License: perl_5
- Activity24 month
- Download (68.14KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionBINGOS Chris Williams
POE::Component::IRC::Service - a fully event driven IRC Services module
use POE::Component::IRC::Service; # Do this when you create your sessions. 'IRC-Service' is just a # kernel alias to christen the new IRC connection with. Returns an # object to access the IRC network state. my ($ircservice) = POE::Component::IRC::Service->new('IRC-Service','P10') or die "Oh noooo! $!";
POE::Component::IRC::Service is a POE component borrowed heavily from POE::Component::IRC which acts as an easily controllable IRC Services client for your other POE components and sessions.
The module is a wrapper for various sub components which actually deal with the messy business of connecting to and returning events from the IRC network, and recording the IRC network state.
Takes three arguments: a name (kernel alias) which this new connection will be known by; the name of the sub-component to invoke; a hashref containing configuration information. Currently implemented is P10. Hybrid support will be coming soon.
Returns a brand new shiny IRC Service object.
Chris Williams, <email@example.com>
Copyright (c) Dennis Taylor and Chris Williams.
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.
The biggest debt is to Dennis Taylor, <firstname.lastname@example.org> for creating POE::Component::IRC and letting me "salvage" his code for this module.
RFC 1459, http://www.irchelp.org/, http://poe.perl.org/, POE::Component::IRC POE::Component::IRC::Service::P10 POE::Component::IRC::Service::Hybrid
Module Install Instructions
To install POE::Component::IRC::Service, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install POE::Component::IRC::Service
For more information on module installation, please visit the detailed CPAN module installation guide.