Leser: 1
4 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#configuration file for the image-sorter program
#language
lang=de
#start program in full screen mode
fullscreen=0
#different image categories
[categories]
katergorie eins
kategorie zwei
.
.
[/categories]
#different source directories
[sources]
/home/user/bilder/urlaub
/home/user/bilder/party
/home/user/bilder/privat
[/sources]
[destinations]
.
.
[/destinations]
# usw. usf.
1
2
3
4
5
6
7
8
#!/usr/bin/perl -w
use strict;
use Config::General;
my $conf = new Config::General('conf/default.conf');
my %config = $conf->getall;
print "$config{'categories'}{1}\n";
1
2
3
4
5
6
7
#different image categories
<categories>
1=katergorie eins
2=kategorie zwei
.
.
</categories>
4 Einträge, 1 Seite |