Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    POE::Component::IRC::Plugin::CoinFlip 0.0102

    Download button

    No screenshots available
    Downloads: 162  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Zoffix Znet | More programs
    Perl Artistic License / FREE
    September 17th, 2010, 05:31 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    POE::Component::IRC::Plugin::CoinFlip description

    Flip coins on IRC

    POE::Component::IRC::Plugin::CoinFlip is a Perl module, a POE::Component::IRC plugin which uses POE::Component::IRC::Plugin for its base. It provides interface to "flip" coins (heads or tails) on IRC. It accepts input from public channel events, /notice messages as well as /msg (private messages); although that can be configured at will.

    SYNOPSIS

     use strict;
     use warnings;

     use POE qw(Component::IRC Component::IRC::Plugin::CoinFlip);

     my $irc = POE::Component::IRC->spawn(
     nick => 'CoinBot',
     server => 'irc.freenode.net',
     port => 6667,
     ircname => 'CoinBot',
     );

     POE::Session->create(
     package_states => [
     main => [ qw(_start irc_001) ],
     ],
     );

     $poe_kernel->run;

     sub _start {
     $irc->yield( register => 'all' );

     $irc->plugin_add(
     'CoinFlip' =>
     POE::Component::IRC::Plugin::CoinFlip->new
     );

     $irc->yield( connect => {} );
     }

     sub irc_001 {
     $irc->yield( join => '#zofbot' );
     }

     Zoffix > CoinBot, flip
     < CoinBot > Zoffix, heads
     < Zoffix > CoinBot, flip
     < CoinBot > Zoffix, tails



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    flip coins | POE component | Perl module | IRC | flip | coins

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM