Authen::PluggableCaptcha::Render
Base Render Class
There is no constructor. Calling ->new() will die . new() must be subclassed.
_init PARAMS
base render setup. PARAMS are required name/value pairs. Required PARAMS are:
challenge_instance TYPE
an instance of an Authen::PluggableCaptcha::Challenge object
It's often easiest for derived classes to call
Authen::PluggableCaptcha::Render::_init( $self , \%kw_args );
in their constructors
_challenge_instance TYPE
sets the internal stash of the Authen::PluggableCaptcha::Challenge object. you probably don't want to call this , unless you replace _init_render
challenge_instance
gets the internal stash of the Authen::PluggableCaptcha::Challenge object.
is_rendered BOOL
gets/sets a bool if the object is rendered or not
expired_message TEXT
gets/sets the expired message
as_string
returns a rendering of the captcha as a string. this MUST be subclassed
render
runs the render logic. this MUST be subclassed
init_expired
called by Authen::PluggableCaptcha when initializing a new captcha render object for an expired key
init_valid
called by Authen::PluggableCaptcha when initializing a new captcha render object for a valid key
Set the Following envelope variables for debugging
$ENV{'Authen::PluggableCaptcha::Render-DEBUG_FUNCTION_NAME'}
debug messages are sent to STDERR via the ErrorLoggingObject package
To install Authen::PluggableCaptcha, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::PluggableCaptcha
CPAN shell
perl -MCPAN -e shell install Authen::PluggableCaptcha
For more information on module installation, please visit the detailed CPAN module installation guide.