summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-07-08 22:24:05 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-07-08 22:24:05 +0300
commit78ec9c89274273bd864089c3fb10f62319790dec (patch)
tree2795cfcdbb8c324aea9748cbacaecc85e95803d3 /README
parent69ff9c1766ed89edf0ffdb63bf487396b6bd081b (diff)
downloadconfig-haproxy-78ec9c89274273bd864089c3fb10f62319790dec.tar.gz
config-haproxy-78ec9c89274273bd864089c3fb10f62319790dec.tar.bz2
Minor changes
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 7 insertions, 7 deletions
diff --git a/README b/README
index 3330122..4e20984 100644
--- a/README
+++ b/README
@@ -7,16 +7,16 @@ searching, modifying and saving it to a file.
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";
+ }
INSTALLATION

Return to:

Send suggestions and report system problems to the System administrator.