in reply to Re: Building a CPAN module with User Inputs
in thread Building a CPAN module with User Inputs
Some code you write needs configuration information when you build and + install it. For example, consider a program that can use any of seve +ral optional and conflicting plug-ins. The user must decide what to u +se when she builds the module, especially if some of the dependencies + themselves have dependencies. When you run your tests and the code in general, having this informati +on available in one spot is very valuableyou can avoid expensive and +tricky checks if you hide everything behind a single, consistent inte +rface. How do you collect and store this information? Ask the user, and then +write it into a simple configuration module!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Building a CPAN module with User Inputs
by GrandFather (Saint) on Oct 28, 2008 at 10:53 UTC | |
by bichonfrise74 (Vicar) on Oct 28, 2008 at 15:45 UTC |