Leser: 13
1
2
3
4
5
6
7
8
9
[test1]
new = new one
old = old one
[test2]
new = new two
old = old two
[test3]
new = new three
old = old three
1 2 3 4 5
use Config::IniFiles; my $config = Config::IniFiles->new( -file => '/pfad/zur/datei.ini' ); my $section = 'test1'; print "Section $section existiert" if $config->SectionExists( $section );