diff options
Diffstat (limited to 'lib/Config/HAProxy.pm')
-rw-r--r-- | lib/Config/HAProxy.pm | 3 |
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 @@ -368,13 +368,14 @@ Returns the last node in the tree. Saves the parse tree in the configuration file. =head2 write $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 level. If B<tabstop> key is also present, its value must be a reference to the list of tabstop columns. For each statement with arguments, this array is consulted to determine the column number for each subsequent argument. |