in reply to Building a CPAN module with User Inputs
In a word: "Don't". Modules get installed in all manner of ways which preclude user interaction. If you require information such as that for customization, pop up some ui the first time the module is used to ask for it, then save the information away in some place relative to the place the module was installed (if you can) or in a user relative location (if you can find one). Note that where you can store such stuff will depend on the host OS and on various other things outside the control of your module.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Building a CPAN module with User Inputs
by bichonfrise74 (Vicar) on Oct 28, 2008 at 05:55 UTC | |
by GrandFather (Saint) on Oct 28, 2008 at 10:53 UTC | |
by bichonfrise74 (Vicar) on Oct 28, 2008 at 15:45 UTC | |
|
Re^2: Building a CPAN module with User Inputs
by bichonfrise74 (Vicar) on Oct 28, 2008 at 05:01 UTC | |
|
Re^2: Building a CPAN module with User Inputs
by Anonymous Monk on Oct 28, 2008 at 04:33 UTC |