diff options
-rw-r--r-- | doc/smokeping_extend.pod | 4 | ||||
-rw-r--r-- | lib/Smokeping.pm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/smokeping_extend.pod b/doc/smokeping_extend.pod index 0a0eb41..3fde6ba 100644 --- a/doc/smokeping_extend.pod +++ b/doc/smokeping_extend.pod @@ -139,7 +139,7 @@ be returned). =item _sub -A function pointer. It called for every value, with the value passed +A function pointer. It is called for every value, with the value passed as its first argument. If the function returns a defined value it is assumed that the test was not successful and an error is generated with the returned string as content. @@ -152,7 +152,7 @@ The C<probevars> and C<targetvars> methods should return hash references that contain the variable names as keys and the hashes described above as values. In addition the C<Config::Grammar> special section key C<_mandatory> is supported and should contain a reference to a list of -mandatory variables. The C<_makevars> method is available of this special +mandatory variables. The C<_makevars> method is aware of this special key and merges the mandatory lists in its arguments. Note that no other C<Config::Grammar> special section keys are supported. diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index c26a078..e1de056 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -2568,7 +2568,7 @@ Config::Grammar module. Read all about it in L<Config::Grammar>. The Configuration file has a tree-like structure with section headings at various levels. It also contains variable assignments and tables. -Warning: this manual is rather long. See the smokeping_examples document +Warning: this manual is rather long. See L<smokeping_examples> for simple configuration examples. ${e}head1 REFERENCE |