http://www.perlmonks.org?node_id=333270


in reply to Re: CGI::Application design strategy
in thread CGI::Application design strategy

Since your login_submit sub has to return what's to be displayed to the browser, don't you have to do
if(badlogin()){ return $self->login(); }
?