The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mojolicious::Plugin::Recaptcha - ReCaptcha plugin for Mojolicious framework

VERSION

0.1

SYNOPSIS

   # Mojolicious::Lite
   plugin recaptcha => { 
      public_key  => '...', 
      private_key => '...'
   };
   
   # Mojolicious
   $self->plugin(recaptcha => { 
      public_key  => '...', 
      private_key => '...'
   });
   
   # template 
   <form action="" method="post">
      <%== recaptcha_html %>
      <input type="submit" value="submit" name="submit" />
   </form>
   
   # checking
   if ($self->helper('recaptcha')) {
      # all ok
   }
   

SUPPORT

SEE ALSO

Mojolicious, Mojolicious::Plugin, Mojolicious::Lite

COPYRIGHT & LICENSE

Copyright 2010 Dmitry Konstantinov. All right reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.