Mark Fuller wrote:
On Wed, May 7, 2008 at 12:18 PM, Robert Hicks <suppressed> wrote:I have a runmode that goes back to "home" when finished: $self->home; I would like to send a flag back to "home" (0 for bad and 1 for good) so a param in home can be set.From the runmode (method) you want to return back to home from, justreturn the output of the home method, like "return $self->home($err_code);" (assuming the home method does a $tmpl_obj->output().).
That would be for H::T correct? I use TT and the line that I output looks like:
return $self->tt_process( 'home.html', \%params );
Robert
##### 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/ ##
## ##
################################################################
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.