http://qs1969.pair.com?node_id=53338


in reply to Re: (2) Parsing external config file (variable interpolation in config file?)
in thread Parsing external config file

Yes!

You can define 4 types of config variable -

So your line enable pass $newen would be best handled as a hash, which would be called enable.

[section] has the effect of prefixing the varname with the section name, so login would become SetPass_login.

Multiple assignments to the same array or hash add further elements.

Both environment varibles, and those previously defined in the config file, can be expanded as values.

Take a look at the pods for AppConfig::State and AppConfig::File for more details.

Overall I'm very impressed with this module - it has definately saved me alot of time with the program I'm currently writing.

Pete