Hello everyone
I posted a question two days about about CGI::Application. You can find it here. In the node I was asking how to break up a CGI::Application into more than one modules.
After I got that all sorted out I started modifying my code to the suggestions listed in the page. However, I started noticing after I broke up my C::A into a Superclass and a bunch of modules that I really didn't need to have more than one runmode to a modules. That is each runmode had no shared code (there was a few excpetions, but for the majority this was the case).
So is it a good/bad pratice to have each runmode a seperate module (i.e. each runmode is then accesss by going to: http://site.com/runmode.pl instead of http://site.pl?module?node=runmode.
What's your opinion? Is making a module for each runmode overkill?
In reply to Preferred Method with CGI::Application by debiandude
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |