in reply to How to write effective modules
Hello,
I write web applications, often using either CGI::Application or Catalyst. What I've started doing recently is using CGI::Application as a framework for even my non web based apps.
So then when I start asking myself questions like "boy, how am I going to cleanly get a database handle to everything that needs it?" I just hit up CPAN and find stuff like CGI::Application::Plugin::DBH. It usually comes out cleaner than anything I could come up with on my own.
Regards,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to write effective modules
by graff (Chancellor) on May 04, 2009 at 05:07 UTC |