Chirpy!

Latest Version: 0.3
Released: 2007-02-09

Chirpy! 0.3 API Documentation

<<
Chirpy::Util::IniFile

NAME

Chirpy::Util::IniFile - Load from and save to an INI file

SYNOPSIS

 $inifile = new Chirpy::Util::IniFile('/path/to/inifile.ini');

 $value = $inifile->get($section, $name);

 $inifile->set($section, $name, $value);
 
 undef $inifile;

NOTE

The undef $inifile; in the above example is not necessary to trigger an update of the file's contents. The file is updated as soon as the object goes out of scope (but only if the set() function has been called).

AUTHOR

Tim De Pauw <ceetee@users.sourceforge.net>

SEE ALSO

Chirpy::Configuration, Chirpy::Locale, Chirpy, http://chirpy.sourceforge.net/

COPYRIGHT

Copyright 2005-2007 Tim De Pauw. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.