in reply to Re: Strategies for exiting early for CGI::Application based webapp.
in thread Strategies for exiting early for CGI::Application based webapp.
The code that I'm imagining would be something like
So this could be a sub-routine or a code reference.{ if cookie not found { redirect to login page; goto CLEAN_UP; } ... CLEAN_UP: do_some_clean_up(); }
Does that answer your question?
--t. alex
|
|---|