POE::Component::IRC::Plugin::CPAN::Info

PoCo::IRC plugin for accessing information about CPAN modules, distributions and authors
Download

POE::Component::IRC::Plugin::CPAN::Info Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Zoffix Znet
  • Publisher web site:
  • http://search.cpan.org/~zoffix/

POE::Component::IRC::Plugin::CPAN::Info Tags


POE::Component::IRC::Plugin::CPAN::Info Description

PoCo::IRC plugin for accessing information about CPAN modules, distributions and authors POE::Component::IRC::Plugin::CPAN::Info is a POE::Component::IRC plugin which uses POE::Component::IRC::Plugin for easy addon of the module. The module provides interface for quering information about CPAN authors, (e.g. full name and email address), modules (e.g. version and description) and distributions (e.g. list of modules the distribution contains and author of the distribution).SYNOPSIS use strict; use warnings; use POE qw(Component::IRC Component::IRC::Plugin::CPAN::Info); my @Channels = ( '#zofbot' ); my $irc = POE::Component::IRC->spawn( nick => 'CPANInfoBot', server => 'irc.freenode.net', port => 6667, ircname => 'CPAN module information bot', ) or die "Oh noes :( $!"; POE::Session->create( package_states => , ], ); $poe_kernel->run(); sub _start { $irc->yield( register => 'all' ); # register our plugin $irc->plugin_add( 'CPANInfo' => POE::Component::IRC::Plugin::CPAN::Info->new ); $irc->yield( connect => { } ); undef; } sub irc_001 { my ( $kernel, $sender ) = @_; $kernel->post( $sender => join => $_ ) for @Channels; undef; } Requirements: · Perl


POE::Component::IRC::Plugin::CPAN::Info Related Software