Jonathan Vanasco > Authen-PluggableCaptcha > Authen::PluggableCaptcha::ErrorLoggingObject

Download:
Authen-PluggableCaptcha-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

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__ )

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

syntax highlighting: