POE::Component::IRC::Plugin::AntiSpamMailTo

Little IRC plugin to generate mailto: links that avoid dumb spam bots
Download

POE::Component::IRC::Plugin::AntiSpamMailTo Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Zoffix Znet
  • Publisher web site:
  • http://search.cpan.org/~zoffix/

POE::Component::IRC::Plugin::AntiSpamMailTo Tags


POE::Component::IRC::Plugin::AntiSpamMailTo Description

Little IRC plugin to generate mailto: links that avoid dumb spam bots POE::Component::IRC::Plugin::AntiSpamMailTo is a Perl module, a small POE::Component::IRC plugin which uses POE::Component::IRC::Plugin for its base. It provides interface to generate < a href="mailto:foo@bar" >... links that escape every single characters preventing dumb spam bots from harvesting the email addresses.Developer commentsI did not do any actual research on how useful this technique actually is but people who employ it say that it's effective as long as you encode the mailto: part as well. The plugin accepts input from public channel events, /notice messages as well as /msg (private messages); although that can be configured at will.SYNOPSIS use strict; use warnings; use POE qw(Component::IRC Component::IRC::Plugin::AntiSpamMailTo); my $irc = POE::Component::IRC->spawn( nick => 'MailtoBot', server => 'irc.freenode.net', port => 6667, ircname => 'MailtoBot', ); POE::Session->create( package_states => , ], ); $poe_kernel->run; sub _start { $irc->yield( register => 'all' ); $irc->plugin_add( 'mailto' => POE::Component::IRC::Plugin::AntiSpamMailTo->new ); $irc->yield( connect => {} ); } sub irc_001 { $irc->yield( join => '#zofbot' ); } Zoffix > MailtoBot, mailto mailto:zoffix@cpan.org < MailtoBot > mailto:zo ffix@cpan.org Requirements: · Perl


POE::Component::IRC::Plugin::AntiSpamMailTo Related Software