CGI::Session::ErrorHandler man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

CGI::Session::ErrorHanUser(Contributed Perl DocumCGI::Session::ErrorHandler(3)

NAME
       CGI::Session::ErrorHandler - error handling routines for CGI::Session

SYNOPSIS
	   require 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");
	       }
	   }

DESCRIPTION
       CGI::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.

LICENSING
       For support and licensing information see CGI::Session.

perl v5.14.2			  2008-07-16	 CGI::Session::ErrorHandler(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net