path: root/lib/Config/
authorSergey Poznyakoff <>2018-07-12 06:09:03 (GMT)
committer Sergey Poznyakoff <>2018-07-12 06:09:03 (GMT)
commitedfeb103b85e10aa9e6825d3b92c5888fb4dea94 (patch) (side-by-side diff)
treea464544110c01c65098a282c459e54afdb41c455 /lib/Config/
parent77946164120de0a135035621762779bfa50e82d0 (diff)
Drop dependency on autodiev1.01
* Changes: Update * lib/Config/ Improve description of the write method. * t/format.t: Pass string ref to write. Don't use autodie. * t/select.t: Don't use autodie.
Diffstat (limited to 'lib/Config/') (more/less context) (ignore whitespace changes)
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Config/ b/lib/Config/
index 74eafa4..9a8d666 100644
--- a/lib/Config/
+++ b/lib/Config/
@@ -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.