Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add gitignore, markdown readme

  • Loading branch information...
commit ac532f18556633f25f38d997a9781719d2e6f88f 1 parent cb3f8a9
@yappo authored
Showing with 60 additions and 0 deletions.
  1. +12 −0 .gitignore
  2. +48 −0 README.mkdn
View
12 .gitignore
@@ -0,0 +1,12 @@
+cover_db
+META.yml
+Makefile
+blib
+inc
+pm_to_blib
+MANIFEST
+Makefile.old
+nytprof.out
+MANIFEST.bak
+*.sw[po]
+x.pl
View
48 README.mkdn
@@ -0,0 +1,48 @@
+# 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](http://search.cpan.org/perldoc?AnyEvent) based some messaging protocol handling program tool kit.
+
+# AUTHOR
+
+Kazuhiro Osawa <yappo <at> shibuya <döt> pl>
+
+# SEE ALSO
+
+[AnySan::Receive](http://search.cpan.org/perldoc?AnySan::Receive),
+[AnyEvent](http://search.cpan.org/perldoc?AnyEvent)
+
+# LICENSE
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
Please sign in to comment.
Something went wrong with that request. Please try again.