/home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Authen-PluggableCaptcha/blib/lib/Authen/PluggableCaptcha/Helpers.pm


NAME

Authen::PluggableCaptcha::Helpers


SYNOPSIS

This just has some shared functions in its own namespace


=head1 CLASS FUNCTIONS
check_requires PARAMS

requires the following key-value pairs:

kw_args__ref

a reference to a hash of kw_args

requires_array__ref

a reference to an array of required fields

error_message

an error message

check_requires will check the fields of kw_args__ref to ensure all items in requires_array__ref are present. if any are missing, it will die with the error message.


DEBUGGING

Set the Following envelope variables for debugging

        $ENV{'Authen::PluggableCaptcha::Helpers-DEBUG_FUNCTION_NAME'}

debug messages are sent to STDERR via the ErrorLoggingObject package

This class stores shared helper methods.

It should be a mix-in eventually, with exported methods. For now, call directly.