Title: RE: Inventive ways to parse configuration files?

> If your config files will be read and written only by Perl, you
> could just use Data::Dumper to write and then read your config
> hash.
>

Or, you can simply write your config as a hash(es) (and/or arrays and/or scalars) and then

require /path/to/configfile.cfg;

When you use strict, you'll need to declare the variables in the main script (using our instead of my).

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to