The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::ISC::DHCPd::Config::Block - Unknown config blocks

DESCRIPTION

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

An instance from this class, comes from / will produce:

    $type $name {
        $body_attribute_value
    }

    $type "$string" {
        $body_attribute_value
    }

IMPORTANT! "Blocks" may be redefined to a "real" instance later on. This is simply here as a "catch-all" feature, in case something could not be parsed.

SYNOPSIS

See "SYNOPSIS" in Net::ISC::DHCPd::Config.

ATTRIBUTES

type

See "SYNOPSIS".

name

See "SYNOPSIS".

quoted

This flag tells if the name should be quoted or not.

body

The body of the block, without trailing newline at end. This text is not parsed, so the containing text can be anything.

regex

See "regex" in Net::ISC::DHCPd::Config::Role.

METHODS

BUILD

Will convert body (as string) in new() into a list which is used internally.

slurp

This method is used by "parse" in Net::ISC::DHCPd::Config::Role, and will slurp the content of the function, instead of trying to parse the statements.

captured_to_args

See "captured_to_args" in Net::ISC::DHCPd::Config::Role.

generate

See "generate" in Net::ISC::DHCPd::Config::Role.

COPYRIGHT & LICENSE

AUTHOR

See Net::ISC::DHCPd.