Query: cgi::session::errorhandler
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CGI::Session::ErrorHandler(3) User Contributed Perl Documentation CGI::Session::ErrorHandler(3)NAMECGI::Session::ErrorHandler - error handling routines for CGI::SessionSYNOPSISrequire CGI::Session::ErrorHandler @ISA = qw( CGI::Session::ErrorHandler ); sub some_method { my $self = shift; unless ( $some_condition ) { return $self->set_error("some_method(): $some_condition isn't met"); } }DESCRIPTIONCGI::Session::ErrorHandler provides set_error() and errstr() methods for setting and accessing error messages from within CGI::Session's components. This method should be used by driver developers for providing CGI::Session-standard error handling routines for their code METHODS set_error($message) Implicitly defines $pkg_name::errstr and sets its value to $message. Return value is always undef. errstr() Returns whatever value was set by the most recent call to set_error(). If no message as has been set yet, the empty string is returned so the message can still concatenate without a warning.LICENSINGFor support and licensing information see CGI::Session. perl v5.16.3 2008-07-16 CGI::Session::ErrorHandler(3)
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
CentOS7 restoring file capabilities |
Docker learning Phase-I |
Unsure why access time on a directory change isn't changing |
[TIP] Processing YAML files with yq |