Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Changing run mode in cgi::application

by dragonchild (Archbishop)
on Mar 24, 2004 at 13:28 UTC ( [id://339385]=note: print w/replies, xml ) Need Help??


in reply to Changing run mode in cgi::application

Read the answer I gave you on the cgiapp mailing list. The issue that you don't seem to be understanding is this: all runmodes are functions. There is nothing magical about them. If you want to change runmodes, you have to change which function returns back to the C::A function that calls runmodes.

Here's another way to think about it - you need to change what value is returned back to the C::A function that calls runmodes. I actually have runmodes that act as traffic cops, figuring out which function actually will generate the output, depending on various conditions. Those output functions are not "runmodes".

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

  • Comment on Re: Changing run mode in cgi::application

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-24 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found