Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Checking in changes prior to tagging of version 0.02.

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...
commit 9f1f146c159ebb6c5ad61c4115bbc45c3df20371 1 parent ac532f1
@yappo authored
Showing with 49 additions and 27 deletions.
  1. +6 −0 Changes
  2. +42 −26 README
  3. +1 −1  lib/AnySan.pm
View
6 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
View
68 README
@@ -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
View
2  lib/AnySan.pm
@@ -1,7 +1,7 @@
package AnySan;
use strict;
use warnings;
-our $VERSION = '0.01';
+our $VERSION = '0.02';
use AnyEvent;
Please sign in to comment.
Something went wrong with that request. Please try again.