Thread Datei in einen Hash einlesen (20 answers)
Opened by crojay at 2011-04-14 01:34

Gast wer
 2011-04-14 02:54
#147728 #147728
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;

my $file='test.cnf';

use Config::General qw(ParseConfig);
my %conf=ParseConfig($file);

print Dumper(\%conf);

Last edited: 2011-04-14 02:55:11 +0200 (CEST)

View full thread Datei in einen Hash einlesen