-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
3 changed files
with
49 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
||
|