On Tue, Jun 2, 2009 at 1:49 PM, Michael Peters <[email protected]> wrote:

> You could just not do a redirect (which uses HTTP and makes the browser go
> fetch another URL). You could instead just return the run mode you want.
> Something like this:
>
>    return $ok ? $self->splash : $self->error;

That works quite well.  Thank you.

Learned something new today...

-- 
Stephen Carville

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to