POE::Component::SpreadHandle Spread communications in POE | |
Download |
POE::Component::Spread Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Rob Partington
- Publisher web site:
- http://search.cpan.org/~rjp/
POE::Component::Spread Tags
POE::Component::Spread Description
Handle Spread communications in POE POE::Component::Spread is a POE component for talking to Spread servers.SYNOPSIS POE::Component::Spread->new( 'spread' ); POE::Session->create( inline_states => { _start => &_start, chatroom_regular => &do_something, } ); sub _start { $poe_kernel->alias_set('displayer'); $poe_kernel->post( spread => connect => 'localhost' ); $poe_kernel->post( spread => subscribe => 'chatroom' ); $poe_kernel->post( spread => publish => 'chatroom', 'A/S/L?' ); } sub do_something { my $args = $_; my ($sender, $message, $type, $groups) = @$args; # ... } Requirements: · Perl
POE::Component::Spread Related Software