1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
--- 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_HASH, 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|aliasE<lt>argopts<gt>"
-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 E<lt>argopts<gt> element indicates the ARGCOUNT value and may be one of
+The E<lt>argopts<gt> element indicates the ARGCOUNT value and may be one of
the following;
! ARGCOUNT_NONE
|