Re: Reading config file issues

2001-12-12 Thread _brian_d_foy
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Okay, this is really, really sloppy, but it's much closer in intent to what Randal >was talking > about (only relevant code is presented): > sub doConf > { > my ($conf, $directives, $config_data) = @_; > while (($directive, $co

Re: Reading config file issues

2001-12-12 Thread Randal L. Schwartz
> "Ronald" == Ronald Yacketta <[EMAIL PROTECTED]> writes: Ronald> Any insight as to how to make it work as I would like? Being able to Ronald> read in the values Ronald> Via a .cfg ??? Yes. Use a hash. See Curtis Poe's response, for example. Or look for "config" in the CPAN. There are ma

Re: Reading config file issues

2001-12-12 Thread Curtis Poe
Okay, this is really, really sloppy, but it's much closer in intent to what Randal was talking about (only relevant code is presented): my @data = qw/ all_clp5_cl p299_cl imp143_cl imp5_cl all_cl_think p5_cl_think p299_cl_think imp143_cl

RE: Reading config file issues

2001-12-12 Thread Yacketta, Ronald
read in the values Via a .cfg ??? -Ron -Original Message- From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 4:34 PM To: [EMAIL PROTECTED]; Ronald Yacketta Subject: Re: Reading config file issues >>>>> "Ronald" == Ronald Y

Re: Reading config file issues

2001-12-12 Thread Randal L. Schwartz
> "Ronald" == Ronald Yacketta <[EMAIL PROTECTED]> writes: Ronald> my Ronald> ($g_all_cl,$g_p5_cl,$g_p299_cl,$g_imp143_cl,$g_imp5_cl,$g_imp_14_cl,$g_val_c Ronald> l, Ronald> $g_all_cl_think,$g_p5_cl_think,$g_p299_cl_think,$g_imp143_cl_think,$g_imp5_c Ronald> l_think, Ronald> $g_imp_14_cl_think

Reading config file issues

2001-12-12 Thread Yacketta, Ronald
Folks, I am using the ConfigReader.pm and have the following setup... yes, I am using -w and strict ;) my ($g_all_cl,$g_p5_cl,$g_p299_cl,$g_imp143_cl,$g_imp5_cl,$g_imp_14_cl,$g_val_c l, $g_all_cl_think,$g_p5_cl_think,$g_p299_cl_think,$g_imp143_cl_think,$g_imp5_c l_think, $g_imp_14_cl_think,$g_v