On Mon, Sep 06, 2004 at 09:04:22PM +0000, Mark Stosberg wrote: > %CFG = $self->cfg; > $cfg_href = $self->cfg;
Precisely what I had in mind. > > That's what I'm currently doing but prefer your > > solution of reading in multiple config files from a static location (I'm > > loading the config file as a module). > > This should be very much like what you are doing. Just set the last > expression defined to be a hashref Actually I'm calling a function in this module to return the hashref. That would make it all the easier to drop in your module. BTW, where can I download your module? > > Also, what is the format of the config file? > > Check the documentation for Config::Auto. :) At least with Perl, > there aren't limitations on the complexity of what your hash ref > contains. Ahh, so that's the underlying module you're calling. I checked the docs on CPAN but there are really no examples that are useful for me. Can you send me one of your config files so that I can see the format you are using with Config::Auto. William -- Knowmad Services Inc. http://www.knowmad.com --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
