http://www.perlmonks.org?node_id=562888


in reply to Config files in CPAN modules?

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.


___________
Eric Hodges