2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

betateilchen: debug code

git-svn-id: https://svn.fhem.de/fhem/trunk@18298 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2019-01-17 15:25:09 +00:00
parent 9c3d3e539b
commit fa57caa6b8

View File

@ -212,9 +212,9 @@ my ($err,@config);
return 0 if ($err);
map { $_ =~ s/^\s+|\s+$//g; } @config;
map { $_ =~ s/;$/;;/;} @config;
map { $_ = undef unless length($_) } @config;
@config = map { $_ =~ s/^\s+|\s+$//g; } @config;
@config = map { $_ =~ s/;$/;;/;} @config;
@config = map { $_ ? $_ : () } @config;
use Data::Dumper;
print Dumper @config;