Mojolicious::Plugin::CaptchaRenderer - captcha renderer for Mojolicious framework
0.02
# Mojolicious::Lite plugin captcha_renderer => { size => 20, color => 'blue', wave_amplitude => 4}; get '/img/code.png' => sub { my $self = shift; $self->render_data($self->captcha('cool captcha code')); } # Mojolicious $self->plugin(captcha_renderer => { size => 20, color => 'blue', wave_amplitude => 4}); package MyApp::MyController; sub my_action { my $self = shift; $self->render_data($self->captcha('cool captcha code')); }
Repository
http://github.com/konstantinov/Mojolicious-Plugin-CaptchaRenderer
Mojolicious, Mojolicious::Plugin, Mojolicious::Lite
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.
To install Mojolicious::Plugin::CaptchaRenderer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::CaptchaRenderer
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::CaptchaRenderer
For more information on module installation, please visit the detailed CPAN module installation guide.