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 > System

    POE::Component::OSCAR 0.05

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Dan McCormick | More programs
    Perl Artistic License / FREE
    April 18th, 2007, 18:05 GMT
    ROOT / System

     Read user reviews (0)  Refer to a friend  Subscribe

    POE::Component::OSCAR description

    A POE component for the Net::OSCAR module

    POE::Component::OSCAR is a POE component for the Net::OSCAR module.

    SYNOPSIS

    use POE qw(Component::OSCAR);

    [ ... POE set up ... ]

    sub _start { # start an OSCAR session $oscar = POE::Component::OSCAR->new();
    # start an OSCAR session with automatic throttling of new connections
    # to prevent being banned by the server
    $oscar = POE::Component::OSCAR->new( throttle => 4 );

    # set up the "im_in" callback to call your state, "im_in_state"
    $oscar->set_callback( im_in => 'im_in_state');

    # it's good to detect errors if you don't want to get banned
    $oscar->set_callback( error => 'error_state' );
    $oscar->set_callback( admin_error => 'admin_erro_stater' );
    $oscar->set_callback( rate_alert => 'rate_alert_state' );

    # sign on
    $oscar->signon( screenname => $MY_SCREENNAME, password => $MY_PASSWORD );
    }
    sub im_in_state { my ($nothing, $args) = @_[ARG0..$#_]; my ($object, $who, $what, $away) = @$args;
    print "Got '$what' from $whon";
    }


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Net::OSCAR component | Net::OSCAR module | Perl module | module | Net::OSCAR | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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