Authen::PluggableCaptcha::ErrorLoggingObject
This is an ErrorLoggingObject- it contains routines that log and retreive errors for objects
It's really nothing more than a few simple methods and an _ERROR namespace that can help manage objects
This also supports '__dict__', which returns a Data::Dumper representation of an object ( kind of like printing a python __dict__ )
- _init TYPE
- initialize the errors store. derived objects may want to call this in
their constructor as
Authen::PluggableCaptcha::ErrorLoggingObject::_init( $self )
- get_error TYPE
- returns the error defined for TYPE, or undef. it is usually best to submit
a function name as TYPE
- set_error TYPE
- sets an error message, or error flag, for TYPE
- clear_error TYPE
- clears the error marked for TYPE
- log_function_name TYPE
- prints TYPE to STDERR
- __dict__
- returns a Data::Dumper->Dump representation of
$self
Hey! The above document had some coding errors, which are explained
below:
- Around line 24:
- =over without closing =back