in reply to Changing run mode in cgi::application
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
|
|---|