Kazuhiro Osawa > AnySan > AnySan::Receive

Download:
AnySan-0.10.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

AnySan::Receive - receive messages manipulate object

SYNOPSIS ^

  AnySan->register_listener(
      synopsis => {
          cb => sub {
              my $receive = shift; # get AnySan::Receive object
              $receive->event; # irc's NOTICE or PRIVMSG
              $receive->nickname; # your nickname
              $receive->from_nickname; # nickname of message writer
              $receive->message; # recive message
              my $geo = $receive->attribute('geo'); # twitter's geo object
              $receive->send_replay('message'); # sending message
          }
      }
  );

AUTHOR ^

Kazuhiro Osawa <yappo <at> shibuya <döt> pl>

SEE ALSO ^

AnySan

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: