Libconf::Templates::Samba - Libconf low level template to handle resolv.conf style conf files
Libconf::Templates::Samba is a template that handles resolv.conf config files.
my $template = new Libconf::Templates::Resolv({ filename => '/etc/resolv.conf' });
...
(see L<Libconf::Templates> for transformation methods on $template)
...
$template->write_conf();
creates the template
my $template = new Libconf::Templates::Resolv({ filename => '/etc/resolv.conf' });
arguments
$options [type : HASH_REF] specifies the options to create the new template instance.
options
filename [type : STRING, default : ''] : the filename of the config file you want to work on. Can be read and written lately by using set_filename and get_filename.
See Libconf::Templates for the general list of methods you can call on this template.
There is no specific methods