Dancer::Plugin::Captcha::AreYouAHuman - Easily integrate AreYouAHuman captcha into your Dancer applications
use Dancer::Plugin::Captcha::AreYouAHuman "is_a_human"; # in config.yml plugins: Captcha::AreYouAHuman: publisher_key: BAADBEEFBAADBEEF scoring_key: BEEFBEEFBEEFBEEF # before template render human_checker true; template "file.tt"; # In your template (TT2) [% are_you_a_human %] # In your validation code.... if ( is_a_human ) { print "You're a human!\n"; } else { print "Not a human\n": }
set ture when you need it.
but by default is false
Enable the directive "are_you_a_human" in the template
e.g.: human_checker true;
check the inputs are coming from a human visitor or not.
return value is 1 or 0 or undef
template directive to print out the validating html
Add a real test suite.
Please report any bugs or feature requests to bug-dancer-plugin-captcha-areyouahuman at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dancer::Plugin::Captcha::AreYouAHuman. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-dancer-plugin-captcha-areyouahuman at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Dancer::Plugin::Captcha::AreYouAHuman
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dancer-Plugin-Captcha-AreYouAHuman
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Dancer-Plugin-Captcha-AreYouAHuman
CPAN Ratings
http://cpanratings.perl.org/d/Dancer-Plugin-Captcha-AreYouAHuman
Search CPAN
http://search.cpan.org/dist/Dancer-Plugin-Captcha-AreYouAHuman
GIT Respority
https://bitbucket.org/mvu8912/p5-dancer-plugin-captcha-areyouahuman
Captcha::AreYouAHuman
Dancer::Plugin
Dancer
Michael Vu, <micvu at cpan.org>
<micvu at cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Dancer::Plugin::Captcha::AreYouAHuman, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Plugin::Captcha::AreYouAHuman
CPAN shell
perl -MCPAN -e shell install Dancer::Plugin::Captcha::AreYouAHuman
For more information on module installation, please visit the detailed CPAN module installation guide.