summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-08-20 04:25:06 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-08-20 04:25:06 (GMT)
commit83ef21d6c43221a9e1bd0c84e58e0596e060136b (patch) (side-by-side diff)
tree35478d631975decd90fb2fdeca72097cabe419d8
parent868a1f983d57fcd3d938991275c1fcc229ef80b0 (diff)
downloadconfig-ast-83ef21d6c43221a9e1bd0c84e58e0596e060136b.tar.gz
config-ast-83ef21d6c43221a9e1bd0c84e58e0596e060136b.tar.bz2
Minor fix
* lib/Config/AST.pm: Fix the misguiding documentation
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--lib/Config/AST.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Config/AST.pm b/lib/Config/AST.pm
index c357cdc..98eb80f 100644
--- a/lib/Config/AST.pm
+++ b/lib/Config/AST.pm
@@ -38,7 +38,7 @@ Config::AST - abstract syntax tree for configuration files
=head1 SYNOPSIS
- my $cfg = new Config::AST($filename, %opts);
+ my $cfg = new Config::AST(%opts);
$cfg->parse() or die;
$cfg->commit() or die;
@@ -144,10 +144,9 @@ the path of the C<filemode> statement is C<qw(core filemode)>.
=head1 CONSTRUCTOR
- $cfg = new Config::AST($filename, %opts);
+ $cfg = new Config::AST(%opts);
-Creates new configuration object for file B<$filename>. Valid
-options are:
+Creates new configuration parser object. Valid options are:
=over 4

Return to:

Send suggestions and report system problems to the System administrator.