On Fri, 20 Feb 2004 23:16:35 -0600 Ken Williams wrote:
: notes(). At installation time, however, the data in these persistent
: hashes will be written to a module called ...::ConfigNotes (where
: '...' is $module_name) that provides a read-only interface to the data
: via its methods get() (for general config notes) and feature() (for
: boolean features).
With zoidberg I use a overloaded method to "hard code" a hash with
configuration into my module, see I see why this would be useful. I only
feel that it might be confusing to have two hashes with two methods,
also I would favour to just call the resulting module "..::Config",
which has a global hash that can be accessed (and maybe some method).
I think you should provide a method "configure" in M::B that can be
overloaded by the packager to put some private config in this config
hash(es).
--
) ( Jaap Karssenberg || Pardus [Larus] | |0| |
: : http://pardus-larus.student.utwente.nl/~pardus | | |0|
) \ / ( |0|0|0|
",.*'*.," Proud owner of "Perl6 Essentials" 1st edition :) wannabe
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
|