Hi,

I know there are tonnes of config file parser listed at CPAN but I am
looking for something different. Also, after searching for a long
time, I could not find one which suits my needs. I am looking for a
config file parser to which I can specify

1.) variables whose values are required to be parsed and stored in hash
2.) variables which are necessary and incase if they don't have a
value or are absent in the config file then, the application should
quit after printing an error to a file, preferably STDOUT.
3.) variables which are not necessary and a default value can be passed to them.
4.) if parser encounters an unknown variable it should spit out a
warning to the user in a file, preferably STDOUT, but keep executing
the rest of the application.

In other words, I am looking for a configure parser which then
configures the configfile. The module need not be oops based. These
features are similar to some commandline argument parsing modules like
Getopt::Easy etc. Also, tcl/tk supports this kind of feature for
arguments of any procedure !!!.

--
Regards
Madhur Kashyap

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to