summaryrefslogtreecommitdiff
path: root/lib/Config/HAProxy.pm
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-07-08 18:15:41 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-07-08 18:15:41 +0300
commit32b6c6394dc6a789826bd51575d9703bb4097f70 (patch)
treeec851b9e9b90b74546df99b878b2dfeb3c2cc445 /lib/Config/HAProxy.pm
parent10897f8a984a6dbc511403ca942fb8c7a8883349 (diff)
downloadconfig-haproxy-32b6c6394dc6a789826bd51575d9703bb4097f70.tar.gz
config-haproxy-32b6c6394dc6a789826bd51575d9703bb4097f70.tar.bz2
Add testsuite
Diffstat (limited to 'lib/Config/HAProxy.pm')
-rw-r--r--lib/Config/HAProxy.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Config/HAProxy.pm b/lib/Config/HAProxy.pm
index 45b0f1f..7938bcb 100644
--- a/lib/Config/HAProxy.pm
+++ b/lib/Config/HAProxy.pm
@@ -13,6 +13,8 @@ use File::Temp qw(tempfile);
use File::stat;
use Carp;
+our $VERSION = '1.00';
+
my %sections = (
global => 1,
defaults => 1,
@@ -79,6 +81,7 @@ sub parse {
}
$self->pop;
close $fh;
+ return $self;
}
sub reset {

Return to:

Send suggestions and report system problems to the System administrator.