Net::ISC::DHCPd::Config::Function - Function config parameters
See the Net::ISC::DHCPd::Config::Role manpage for methods and attributes without documentation.
See the Net::ISC::DHCPd::Config manpage for synopsis.
$string = $self->name
Name of the the function.
$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.
Will make sure body does not contain trailing newlines.
This method will slurp the content of the function, instead of trying to parse the statements.
See captured_to_args in the Net::ISC::DHCPd::Config::Role manpage.
See generate in the Net::ISC::DHCPd::Config::Role manpage.