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. alexIn reply to Re: Re: Strategies for exiting early for CGI::Application based webapp.
by talexb
in thread Strategies for exiting early for CGI::Application based webapp.
by EvdB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |