laziness, impatience, and hubris | |
PerlMonks |
Re: Changing run mode in cgi::applicationby dragonchild (Archbishop) |
on Mar 24, 2004 at 13:28 UTC ( [id://339385]=note: print w/replies, xml ) | Need Help?? |
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". ------
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
In Section
Seekers of Perl Wisdom
|
|