summaryrefslogtreecommitdiffabout
path: root/lib/Config/HAProxy/Node/Root.pm
blob: 656bb9f023d0b28782069f0842fcbfd3aba8b8b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package Config::HAProxy::Node::Root;
use strict;
use warnings;
use parent 'Config::HAProxy::Node::Section';
use Carp;

sub new {
    my $class = shift;
    my $self = $class->SUPER::new(@_);
    $self->{dirty} = 0;
    return $self;
}

sub is_dirty {
    my $self = shift;
    return $self->{dirty}
}

sub mark_dirty {
    my $self = shift;
    $self->{dirty} = 1;
}

sub clear_dirty {
    my $self = shift;
    $self->{dirty} = 0;
}
    
1;

    

Return to:

Send suggestions and report system problems to the System administrator.