Subject: | POD Fixes |
There seems to be an error in the synopsis section of the POD for the task "print the virtualhost list" where it calls the "section" method with an argument of "servername". I think the "directive" method should be called instead.
Here is a trivial patch to make this amendment and also correct a typo.
Thanks.
Subject: | Config.pm.diff |
--- Config.pm.orig 2016-05-17 10:22:10.563140715 +0100
+++ Config.pm 2016-05-17 10:23:42.288768162 +0100
@@ -41,7 +41,7 @@
# print the virtualhost list
- print $_->section('servername')->value(), "\n"
+ print $_->directive('servername')->value(), "\n"
foreach $conf->section(-name => "virtualhost");
# add a directive in all virtualhosts
@@ -73,7 +73,7 @@
features or un/locking directories using htaccess, etc. It can also be
useful for writing some one-shoot migrations scripts in few lines.
-=head1 METHODES
+=head1 METHODS
=head2 new