Run calls all the other methods, cgiapp_prerun....package MyBase::CGIapp; use parent qw' CGI::Application '; sub run { my( $self ) = shift; ## pseudo code my $ret = eval { $self->SUPER::run(@_); }; while( $@ ){ $ret = eval { $self->handle_exeption }; last if $ret ; } return $ret; }
In reply to Re: CGI::Application cgi_prerun exception handling
by Anonymous Monk
in thread CGI::Application cgi_prerun exception handling
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |