Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

perldoc -f goto

by PodMaster (Abbot)
on Mar 24, 2004 at 05:56 UTC ( [id://339305]=note: print w/replies, xml ) Need Help??


in reply to Changing run mode in cgi::application

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.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://339305]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-25 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found