Config::HAProxy::Node::Statement - simple statement node in HAProxy tree
Objects of this class represent simple statements in HAProxy configuration file. A simple statement is any statement excepting: global, defaults, frontend, and backend.
simple statement
Returns true.
Returns the configuration keyword.
Returns the list of arguments to the configuration keyword.
$s = $node->arg($n)
Returns the $nth argument.
Returns original line as it appeared in the configuration file.
Returns the location of this statement in the configuration file (the Text::Locus object).
Config::HAProxy::Node, Config::HAProxy, Text::Locus.
To install Config::HAProxy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::HAProxy
CPAN shell
perl -MCPAN -e shell install Config::HAProxy
For more information on module installation, please visit the detailed CPAN module installation guide.