Sergey Poznyakoff

NAME

Config::HAProxy::Node::Root - root node of HAProxy configuration parse tree

DESCRIPTION

Objects of this class represent the topmost node in HAProxy configuration tree. Each parse tree contains exactly one object of this class. This node can be reached from every node in the tree by following its parent attribute and is returned by the tree method of Config::HAProxy class.

METHODS

is_root

Always true.

is_dirty

    $bool = $node->is_dirty;

Returns true if the tree is dirty, i.e. it was modified since it has been created from the disk configuration file.

mark_dirty

    $node->mark_dirty;

Sets the dirty attribute.

clear_dirty

    $node->clear_dirty;

Clears the dirty attribute.

SEE ALSO

Config::HAProxy::Node.