NAME

Net::ISC::DHCPd::Config::Function - Function config parameters


DESCRIPTION

See the Net::ISC::DHCPd::Config::Role manpage for methods and attributes without documentation.


SYNOPSIS

See the Net::ISC::DHCPd::Config manpage for synopsis.


ATTRIBUTES

name

 $string = $self->name

Name of the the function.

body

 $text = $self->body
 $int = $self->body_length;
 $bool = $self->replace_body($pattern, $replacement);
 $self->append_body($text);
 $self->prepend_body($text);

The body text of the function, without trailing newline at end.


METHODS

BUILD

Will make sure body does not contain trailing newlines.

slurp

This method will slurp the content of the function, instead of trying to parse the statements.

captured_to_args

See captured_to_args in the Net::ISC::DHCPd::Config::Role manpage.

generate

See generate in the Net::ISC::DHCPd::Config::Role manpage.


COPYRIGHT & LICENSE


AUTHOR

See the Net::ISC::DHCPd manpage.