note
BoredByPolitics
Yes!
<p>You can define 4 types of config variable -
<ul>
<li>Boolean ("varname!")</li>
<li>Scalar ("varname=s")</li>
<li>Array ("varname=@")</li>
<li>Hash ("varname=%")</li>
</ul>
So your line <code>enable pass $newen</code> would be best
handled as a hash, which would be called <code>enable</code>.
<p><code>[section]</code> has the effect of prefixing the varname
with the section name, so <code>login</code> would become
<code>SetPass_login</code>.
<p>Multiple assignments to the same array or hash add further elements.
<p>Both environment varibles, and those previously defined
in the config file, can be expanded as values.
<p>Take a look at the pods for [CPAN://AppConfig::State] and
[CPAN://AppConfig::File] for more details.
<p>Overall I'm very impressed with this module - it has definately
saved me alot of time with the program I'm currently writing.
<p><i>Pete</i>
53317
53333