Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Think about Loose Coupling
 
PerlMonks  

Re: Changing run mode in cgi::application

by matthewb (Curate)
on Mar 23, 2004 at 05:43 UTC ( [id://338948]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Changing run mode in cgi::application

You can use the prerun_mode() method to change the run mode of your CGI::App.

MB

Replies are listed 'Best First'.
Re: Re: Changing run mode in cgi::application
by BUU (Prior) on Mar 23, 2004 at 17:33 UTC
    If you'd read the CGI::Application docs:
    The prerun_mode() method is an accessor/mutator which can be used within your cgiapp_prerun() method to change the run mode Note: The prerun_mode() method may ONLY be called in the context of a cgiapp_prerun() method. Your application will die() if you call prerun_mode() elsewhere, such as in setup() or a run mode method.
    I wish to change from one run_mode to another, so that won't work.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://338948]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.