Net::ISC::DHCPd::Config::Include - Hold content of included file
See Net::ISC::DHCPd::Config::Role for methods and attributes without documentation.
An instance from this class, comes from / will produce:
include "$file_attribute_value";
See "SYNOPSIS" in Net::ISC::DHCPd::Config.
This attribute holds a boolean value. "generate" will result in
include "path/from/file/attribute";
when false, and the included config if true. This attribute is false by default.
This around method modifier will stop the parser when parsing recursively, which will require the user to manually parse the included files from the config. Reason for this is that the parse() method returns the number of lines in a single file. and counting lines from included files will break this behaviour.
parse()
See also "parse" in Net::ISC::DHCPd::Config::Role and "SYNOPSIS" in Net::ISC::DHCPd::Config.
See "captured_to_args" in Net::ISC::DHCPd::Config::Role.
This method can either result in include ...; or the whole config of the included file. See "generate_with_include" for how to control the behaviour.
include ...;
See also "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.