Re: [cgiapp] CGI::Application Patch Proposal: bounce()

2005-03-14 Thread Michael Peters
Tony Fraser wrote: Attached is a patch that applies cleanly to CGI::Application version 3.31. The patch adds a bounce(runmode_name) method to CGI::Application The idea behind the bounce() method is to hopefully standardize the way we change run modes. Have a look at the sample code snippet of a

Re: [cgiapp] CGI::Application Patch Proposal: bounce()

2005-03-14 Thread Cees Hek
On Mon, 14 Mar 2005 12:17:43 -0500, Michael Peters [EMAIL PROTECTED] wrote: Tony Fraser wrote: Attached is a patch that applies cleanly to CGI::Application version 3.31. The patch adds a bounce(runmode_name) method to CGI::Application The idea behind the bounce() method is to hopefully

Re: [cgiapp] CGI::Application Patch Proposal: bounce()

2005-03-14 Thread Michael Peters
David Kaufman wrote: return $self-bounce('display_widget'); what was wrong with: return $self-display_widget(); There are a couple of reasons (although for the most part minor, which all have work-arounds) why a method like 'bounce' might be nice. + the get_current_run_mode() will not DWIM