Suprisingly enough this question comes up often and it is not a stupid limitation of CGI::Application,
but a failure to understand how CGI::Application works (
CGI::Application::Loop may help you visualize it).
A bunch of methods get called and in one of them a runmode is chosen (usually sub setup).
Then the runmode is executed and it's output returned to the browser.
The only way to change the run mode from the runmode is to use goto.
Make sense? Now code for it.
MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" |
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). |
** The third rule of perl club is a statement of fact: pod is sexy. |