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


NAME

Authen::PluggableCaptcha::ErrorLoggingObject


SYNOPSIS

        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__ )
        
=head1 OBJECT METHODS
_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