|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
CGI::Application - A little too lazy?by friedo (Prior) |
| on Aug 07, 2005 at 05:24 UTC ( [id://481645]=perlquestion: 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.friedo has asked for the wisdom of the Perl Monks concerning the following question:
Dearest Monks and Monkesses,
I've recently been playing around with CGI::Application which I like a lot. Every time I add a new runmode method, though, I forget to add it to the list that must be supplied to the run_modes method in the setup phase. Consequently, every time I try to run my app with a new mode, I get an error. "This is far too much work," I hollered, and changed my run_modes invocation to this:
Sure enough, that nicely maps ?rm=foo to the method rm_foo and I can now add modes to my heart's content. But it does kinda give me the heebie-jeebies. Anyway,
Much obliged, friedo
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||