diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-07-08 22:24:05 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-07-08 22:24:05 +0300 |
commit | 78ec9c89274273bd864089c3fb10f62319790dec (patch) | |
tree | 2795cfcdbb8c324aea9748cbacaecc85e95803d3 | |
parent | 69ff9c1766ed89edf0ffdb63bf487396b6bd081b (diff) | |
download | config-haproxy-78ec9c89274273bd864089c3fb10f62319790dec.tar.gz config-haproxy-78ec9c89274273bd864089c3fb10f62319790dec.tar.bz2 |
Minor changes
-rw-r--r-- | MANIFEST.SKIP | 1 | ||||
-rw-r--r-- | README | 14 |
2 files changed, 8 insertions, 7 deletions
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP index 3429457..c1d2412 100644 --- a/MANIFEST.SKIP +++ b/MANIFEST.SKIP @@ -62 +62,2 @@ \.tar\.gz$ +Config/HAProxy/VirtualHost.pm @@ -9,12 +9,12 @@ EXAMPLE - use Config::HAProxy; + use Config::HAProxy; - # Parse HAProxy configuration file - $cfg = Config::HAProxy->new->parse; + # Parse HAProxy configuration file + $cfg = Config::HAProxy->new->parse; - # Print IP addresses and ports of the configured backends - foreach my $srv (map { $_->select(name => 'server') } + # Print IP addresses and ports of the configured backends + foreach my $srv (map { $_->select(name => 'server') } $cfg->tree->select(name => 'backend')) { - print $srv->arg(1),"\n"; - } + print $srv->arg(1),"\n"; + } |