Net::ISC::DHCPd::Config::OptionCode - Optionspace config param data
See Net::ISC::DHCPd::Config::Role for methods and attributes without documentation.
An instance from this class, comes from / will produce one of the lines below, dependent on "quoted".
option $prefix_attribute_value.$name_attribute_value \ code $code_attribute_value = $value_attribute_value; option $prefix_attribute_value.$name_attribute_value \ code $code_attribute_value = "$value_attribute_value";
This used to be under OptionSpace, but they can actually be seperated in dhcpd.conf files, which means they need to be parsed seperately. This actually makes the parsing easier because they're treated as individual lines.
There is no real difference between these and normal options, but I'm leaving them seperate in the parser to keep things easy.
See Net::ISC::DHCPd::Config for synopsis.
Human readable prefix of this option. This is the parent of the option.
Human readable name of this option, without parent name prefix
Computer readable code for this option.
Value of the option, as a string.
This flag tells if the option value should be quoted or not.
See "regex" in Net::ISC::DHCPd::Config::Role.
See "captured_to_args" in Net::ISC::DHCPd::Config::Role.
See "generate" in Net::ISC::DHCPd::Config::Role.
See Net::ISC::DHCPd.
To install Net::ISC::DHCPd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::ISC::DHCPd
CPAN shell
perl -MCPAN -e shell install Net::ISC::DHCPd
For more information on module installation, please visit the detailed CPAN module installation guide.