summaryrefslogtreecommitdiff
path: root/lib/Config/HAProxy.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Config/HAProxy.pm')
-rw-r--r--lib/Config/HAProxy.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Config/HAProxy.pm b/lib/Config/HAProxy.pm
index 74eafa4..9a8d666 100644
--- a/lib/Config/HAProxy.pm
+++ b/lib/Config/HAProxy.pm
@@ -371,7 +371,8 @@ Saves the parse tree in the configuration file.
$cfg->write($file, %hash);
-Writes configuration to the named file or file handle. If B<$file> is the
+Writes configuration to the named file or file handle. First argument
+can be a file name, file handle or a string reference. If it is the
only argument, the original indentation is preserved. Otherwise, if
B<%hash> controls the indentation of the output. It must contain at least
the B<indent> key, which specifies the amount of indentation per nesting

Return to:

Send suggestions and report system problems to the System administrator.