Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Sphinx::Config 0.05

    Download button

    No screenshots available
    Downloads: 229  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Jon Schutz | More programs
    Perl Artistic License / FREE
    May 28th, 2010, 03:55 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Sphinx::Config description

    Sphinx search engine configuration file read/modify/write

    Sphinx::Config is a Sphinx search engine configuration file read/modify/write.

    SYNOPSIS

     use Sphinx::Config;

     my $c = Sphinx::Config->new();
     $c->parse($filename);
     $path = $c->get('index', 'test1', 'path');
     $c->set('index', 'test1', 'path', $path);
     $c->save($filename);
     ...

    CONSTRUCTOR

    new

    c = Sphinx::Config->new;

    preserve_inheritance

    c->preserve_inheritance(0);
    c->preserve_inheritance(1);
    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().


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Sphinx configuration | search engine | Perl module | Sphinx | configuration | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM