Re: editing smb.conf (INI files)
- From: Tomasz Chmielewski <tch@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 17:43:58 +0200
Joe Smith schrieb:
Tomasz Chmielewski wrote:What would you use to parse smb.conf or INI-files in a somehow automated/scripted manner?
Config::Tiny - Read/Write .ini style files with as little code as possible
# Changing data
$Config->{newsection} = { this => 'that' }; # Add a section
$Config->{section}->{Foo} = 'Not Bar!'; # Change a value
delete $Config->{_}; # Delete a value or section
# Save a config
$Config->write( 'file.conf' );
Thanks a lot!
--
Tomasz Chmielewski
http://wpkg.org
.
- References:
- editing smb.conf (INI files)
- From: Tomasz Chmielewski
- Re: editing smb.conf (INI files)
- From: Joe Smith
- editing smb.conf (INI files)
- Prev by Date: Re: I hate CGI.pm
- Next by Date: Re: looping issue
- Previous by thread: Re: editing smb.conf (INI files)
- Next by thread: Thread or threads.
- Index(es):