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

{ if cookie not found { redirect to login page; goto CLEAN_UP; } ... CLEAN_UP: do_some_clean_up(); }
So this could be a sub-routine or a code reference.

Does that answer your question?

--t. alex
Life is short: get busy!
  • Comment on Re: Re: Strategies for exiting early for CGI::Application based webapp.
  • Download Code