The CGI::Application Wiki has an article called "Order of Operations" which also details a way to cleanly exit early.
The beef of it is:
sub mymode { ... $self->teardown(); print $self->_send_headers(); exit; }
HTH
--
"To err is human, but to really foul things up you need a computer." --Paul Ehrlich
In reply to Re: Strategies for exiting early for CGI::Application based webapp.
by LTjake
in thread Strategies for exiting early for CGI::Application based webapp.
by EvdB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |