Sphinx::Config is a Sphinx search engine configuration file read/modify/write.
my $c = Sphinx::Config->new();
$path = $c->get('index', 'test1', 'path');
$c->set('index', 'test1', 'path', $path);
c = Sphinx::Config->new;
pi = $c->preserve_inheritance(1);
Set/get the current behaviour for preserving inherited values. When set to a non-zero value (the default), if a value is set in a parent section, then it is automatically inherited by any child sections, and when the configuration file is saved, values that are implicit through inheritance are not shown. When set to zero, each section is considered standalone and a complete set of values is shown in the saved file.
This flag may be enabled and disabled selectively for calls to set() and save().