Skip to content

Commit

Permalink
Checking in changes prior to tagging of version 0.02.
Browse files Browse the repository at this point in the history
Changelog diff is:

diff --git a/Changes b/Changes
index e7851da..1d82ad4 100644
--- a/Changes
+++ b/Changes
@@ -1,4 +1,10 @@
 Revision history for Perl extension AnySan

+0.02    2011-10-24T11:46:11+09:00
+        - Excess Flood defender
+        - added to params in attribute
+        - add dependence
+        - modernize Makefile.PL
+
 0.01    Tue Oct 27 16:30:31 2009
         - original version
  • Loading branch information
yappo committed Oct 24, 2011
1 parent ac532f1 commit 9f1f146
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 27 deletions.
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Revision history for Perl extension AnySan

0.02 2011-10-24T11:46:11+09:00
- Excess Flood defender
- added to params in attribute
- add dependence
- modernize Makefile.PL

0.01 Tue Oct 27 16:30:31 2009
- original version
68 changes: 42 additions & 26 deletions README
Original file line number Diff line number Diff line change
@@ -1,27 +1,43 @@
This is Perl module AnySan.
NAME
AnySan - ANY mesSaging protocol hANdler

SYNOPSIS
# echo bot
use AnySan;
use AnySan::Provider::IRC;

my $irc = irc
'chat.example.net',
key => 'example1',
nickname => 'AnySan1',
channels => {
'#anysan1' => {},
'#anysan2' => {},
};

AnySan->register_listener(
echo => {
cb => sub {
my $receive = shift;
return unless $receive->message =~ /^!yappo/;
$receive->send_replay($receive->message);
}
}
);

AnySan->run;

DESCRIPTION
AnySan is AnyEvent based some messaging protocol handling program tool
kit.

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

SEE ALSO
AnySan::Receive, AnyEvent

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

INSTALLATION

AnySan installation is straightforward. If your CPAN shell is set up,
you should just be able to do

% cpan AnySan

Download it, unpack it, then build it as per the usual:

% perl Makefile.PL
% make && make test

Then install it:

% make install

DOCUMENTATION

AnySan documentation is available as in POD. So you can do:

% perldoc AnySan

to read the documentation online with your favorite pager.

Kazuhiro Osawa
2 changes: 1 addition & 1 deletion lib/AnySan.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package AnySan;
use strict;
use warnings;
our $VERSION = '0.01';
our $VERSION = '0.02';

use AnyEvent;

Expand Down

0 comments on commit 9f1f146

Please sign in to comment.