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.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Config::Std 0.0.7

    Download button

    No screenshots available
    Downloads: 427  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Damian Conway | More programs
    Perl Artistic License / FREE
    January 19th, 2007, 04:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Config::Std description

    A Perl module load and save configuration files in a standard format.

    Config::Std is a Perl module load and save configuration files in a standard format.

    SYNOPSIS

    use Config::Std;

    # Load named config file into specified hash...
    read_config 'demo2.cfg' => my %config;

    # Extract the value of a key/value pair from a specified section...
    $config_value = $config{Section_label}{key};

    # Change (or create) the value of a key/value pair...
    $config{Other_section_label}{other_key} = $new_val;

    # Update the config file from which this hash was loaded...
    write_config %config;

    # Write the config information to another file as well...
    write_config %config, $other_file_name;

    This module implements yet another damn configuration-file system.

    The configuration language is deliberately simple and limited, and the module works hard to preserve as much information (section order, comments, etc.) as possible when a configuration file is updated.

    See Chapter 19 of "Perl Best Practices" (O'Reilly, 2005) for the rationale for this approach.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    load configuration file | save configuration files | Perl module | Config | load | save

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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