Allow the user to sub-class your module and specify there configuration there (either as a reference to a file or the actual configuration
package My::Whatever; use base Whatever; sub config_file { "/usr/home/whatever" };
Seems like this gives the most power to everyone involved, even means that i could have several configurations and easy access to each.
In reply to Re: Config files in CPAN modules?
by eric256
in thread Config files in CPAN modules?
by jimt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |