mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-24 21:29:21 +00:00
betateilchen: debug code
git-svn-id: https://svn.fhem.de/fhem/trunk@18301 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4136991831
commit
4380191603
@ -218,18 +218,13 @@ foreach my $line (@c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
use Data::Dumper;
|
#while (<CONFIG>){
|
||||||
print Dumper @config;
|
# my $line = $_;
|
||||||
|
# $line =~ s/^\s+|\s+$//g; # remove whitespaces etc.
|
||||||
return 0;
|
# $line =~ s/;$/;;/; # duplicate ; at end-of-line
|
||||||
|
# push (@config,$line) if($line !~ m/^#/ && length($line) > 0);
|
||||||
while (<CONFIG>){
|
#}
|
||||||
my $line = $_;
|
#close CONFIG;
|
||||||
$line =~ s/^\s+|\s+$//g; # remove whitespaces etc.
|
|
||||||
$line =~ s/;$/;;/; # duplicate ; at end-of-line
|
|
||||||
push (@config,$line) if($line !~ m/^#/ && length($line) > 0);
|
|
||||||
}
|
|
||||||
close CONFIG;
|
|
||||||
|
|
||||||
use vars qw(%configDB);
|
use vars qw(%configDB);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user