--- AppConfig-1.52/AppConfig.pm.orig Thu Oct 29 13:08:55 1998 +++ AppConfig-1.52/AppConfig.pm Wed Aug 7 00:48:17 2002 @@ -577,21 +577,21 @@ Used to provide an argument specification string to pass to Getopt::Long via AppConfig::Getopt. E.g. "=i", ":s", "=s@". This can also be used to -implicitly set the ARGCOUNT value (C = ARGCOUNT_NONE, C = -ARGCOUNT_LIST, C = ARGCOUNT_ONE) +implicitly set the ARGCOUNT value (C = ARGCOUNT_NONE, C = +ARGCOUNT_LIST, C = ARGCOUNT_HASH, C = ARGCOUNT_ONE) =item EXPAND -Specifies which variable expansion policies should be used when parsing +Specifies which variable expansion policies should be used when parsing configuration files. Constants in C<:argcount> tag set define EXPAND_NONE -- no expansion (default), EXPAND_VAR - expand C<$var> or C<$(var)> as -other AppConfig variables, EXPAND_UID - expand C<~uid> as user's home +- no expansion (default), EXPAND_VAR - expand C<$var> or C<$(var)> as +other AppConfig variables, EXPAND_UID - expand C<~uid> as user's home directory, EXPAND_ENV - expand C<${var}> as environment variable, EXPAND_ALL - do all expansions. May be logically or'd. =item VALIDATE -Regex which the intended variable value should match or code reference +Regex which the intended variable value should match or code reference which returns 1 to indicate successful validaton (variable may now be set). =item ACTION @@ -602,15 +602,15 @@ =head2 COMPACT FORMAT DEFINITION -Variables can be specified using a compact format. This is identical to +Variables can be specified using a compact format. This is identical to the specification format of Getopt::Long and is of the form: "name|alias|aliasEargopts" -The first element indicates the variable name and subsequent ALIAS +The first element indicates the variable name and subsequent ALIAS values may be added, each separated by a vertical bar '|'. -The Eargopts element indicates the ARGCOUNT value and may be one of +The Eargopts element indicates the ARGCOUNT value and may be one of the following; ! ARGCOUNT_NONE