At 03:03 PM 05/06/2002, Jesse Erlbaum wrote: >The cgiapp_prerun() provides an important hook, but it is still a >bit limited. One thing it does not yet do is provide a facility >through which you can modify the run-mode. After I made the >release, it occurred to me that changing the run-mode based on some >other logic would be useful. That might allow you to put a dynamic >switch in-line which is triggered based on some other logic.
How is this different than using mode_param() with a callback method? http://www.cpan.org/authors/id/J/JE/JERLBAUM/CGI-Application-2.0.readme >- Added ability to set mode_param() to use a call-back instance >method (specified by subref) instead of a CGI parameter. -- Greg Marr [EMAIL PROTECTED] "We thought you were dead." "I was, but I'm better now." - Sheridan, "The Summoning" --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/cgiapp@lists.vm.com/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]