Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    POE::Component::IRC::Plugin::Validator::CSS 0.02

    Download button

    No screenshots available
    Downloads: 764  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
    February 12th, 2008, 14:21 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    POE::Component::IRC::Plugin::Validator::CSS description

    A non-blocking CSS validator for IRC bots.

    POE::Component::IRC::Plugin::Validator::CSS is a non-blocking CSS validator for IRC bots.

    SYNOPSIS

    use strict;
    use warnings;

    use POE qw(Component::IRC Component::IRC::Plugin::Validator::CSS);

    my $irc = POE::Component::IRC->spawn(
    nick => 'CSSValidator',
    server => 'irc.freenode.net',
    port => 6667,
    ircname => 'CSS Validator Bot',
    ) or die "Oh noes :( $!";

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

    $poe_kernel->run;

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

    # register our plugin
    $irc->plugin_add(
    'CSSValidator' =>
    POE::Component::IRC::Plugin::Validator::CSS->new
    );

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

    sub irc_001 {
    my ( $kernel, $sender ) = @_[ KERNEL, SENDER ];
    $kernel->post( $sender => join => '#zofbot' );
    }


    [18:05:00] CSSValidator, cssval http://zoffix.com
    [18:05:01] (zoffix.com) Valid ( http://jigsaw.w3.org/css-validator/validator?uri=http://zoffix.com )


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    CSS validator | IRC bot | Perl module | CSS | validator | IRC

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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