NAME
Net::ISC::DHCPd::Config::Function - Function config parameters
DESCRIPTION
See Net::ISC::DHCPd::Config::Role for methods and attributes without documentation.
SYNOPSIS
See Net::ISC::DHCPd::Config 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 Net::ISC::DHCPd::Config::Role::captured_to_args().
generate
See Net::ISC::DHCPd::Config::Role::generate().
COPYRIGHT & LICENSE
AUTHOR
See Net::ISC::DHCPd.